Chapter 17. Security alert!

By now, you’re probably starting to get a feel for how powerful PowerShell can be—and you’re wondering if maybe all of that power might be a security problem. It might be. Our goal in this chapter is to help you understand exactly how PowerShell can impact security in your environment, and to show you how to configure PowerShell to provide exactly the balance of security and power you require.

17.1. Keeping the shell secure

When PowerShell was introduced in late 2006, Microsoft didn’t exactly have a spotless record on security and scripting. After all, VBScript and Windows Script Host (WSH) were probably two of the most popular virus and malware vectors of the time, serving as entry points for such infamous viruses ...

Get Learn Windows PowerShell 3 in a Month of Lunches, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.