githubEdit

Getting Started

Getting started with PowerShell Protect.

PowerShell Protect can be installed from the PowerShell Gallery.

Install-Module PowerShellProtect

To install the AMSI provider that is used to audit and block scripts, you will need to run the following command.

circle-info

This command needs to be run as administrator.

Once installed, the Default Rules will be enabled. You can also enable additional rules using the PowerShell Protect configuration cmdlets.

circle-info

A license is required to configure your own rules. The built-in rules can be used for free without a license.

For example, this configuration will block and audit any script that contains a command with webrequest in the name.

Last updated