July 2018
Beginner
552 pages
13h 18m
English
Preventing changes to scripts and preventing the execution of scripts are both possible by digitally signing them. Strong public-key cryptography is used to ensure the integrity of your script. Signatures can automatically be validated and used to prove changes in a script.
In order to prevent accidental or intended (that is, malicious) changes, you can leverage the PowerShell execution policy. The execution policy was originally intended to prevent users from accidentally executing scripts on their system, and to prevent malicious code from being run without the user's consent. In his blog post from 2008 (https://blogs.msdn.microsoft.com/powershell/2008/09/30/powershells-security-guiding-principles/), Lee ...
Read now
Unlock full access