O'Reilly logo

PowerShell in Depth, Second Edition by Don Jones, Jeffery Hicks, Richard Siddaway

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 17. PowerShell security

This chapter covers

  • Command execution
  • Script signing
  • Execution policy

Security is important in any computer software, and PowerShell is no exception. That said, you may have some confusion about what PowerShell’s security is meant to accomplish. We’ll clear that up in this chapter.

17.1. PowerShell security goals

Let’s start by defining exactly what PowerShell’s security is meant to accomplish and outlining a few things that it’s explicitly not intended to provide.

PowerShell’s only security goal is to prevent an uninformed user from unintentionally executing scripts. That’s it. The goal is to try to stop PowerShell from becoming an easy source for malicious scripts, as VBScript was back in the days of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required