O'Reilly logo

Learn PowerShell Scripting in a Month of Lunches by Don Jones and Jeffery Hicks

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 7. Scripts and security

If you’ve been in IT for a while, you may recall the days of rampant macro-based malware that took advantage of the scripting elements in Microsoft Office. When PowerShell was first mentioned, many people were concerned about the potential for abuse. Microsoft was cognizant of this fear and took steps to mitigate potential problems. After all, a malicious PowerShell script can do a lot of damage with a minimal amount of code. PowerShell scripting by itself isn’t a bad thing, so they didn’t want to make it completely unavailable. Instead, Microsoft tried to strike a balance.

But—and we can’t stress this strongly enough—PowerShell’s security features are intended to be part of a defense in depth program, where ...

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