7 Scripts and security

Let’s take a few minutes and talk about security. We covered this in the predecessor book (Learn PowerShell in a Month of Lunches, Fourth Edition, Manning, 2022), but we want to discuss this in depth. From our experiences in the field, the instant knee-jerk reaction is that PowerShell should be disabled on every desktop and server on the face of the planet because of how powerful and straightforward it is. Major corporations have a company-wide ban on using PowerShell for this very reason.

Viruses and malware are becoming increasingly sophisticated and harder and harder to detect. The security engineers for the top companies are good at identifying new attack vectors and helping fix the problems. Still, there are more ...

Get Learn PowerShell Scripting in a Month of Lunches, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.