Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 1.0 » Set-ExecutionPolicy

Set-ExecutionPolicy - Powershell 1.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Set-ExecutionPolicy

Description
Change the execution policy (user preference)

Usage


Options


Example(s)
Set the user preference for the shell execution policy to RemoteSigned and then display the effective execution policy. The commands are separated by a semicolon (;)

PS C:\>set-executionpolicy remotesigned; get-executionPolicy

Get information about the Authenticode signature for two files:

PS C:\>get-AuthenticodeSignature C:\NewScript.ps1 E:\OtherScript.ps1