Back to script samples page
Setting execution policies as restricted.

This command will set the execution policy to the default setting for windows.

#Setting execution policies as restricted.

#This command will display your current execution policy. This is worth noting if you wish to revert back at a later point.
Get-ExecutionPolicy

#This command will set the execution policy to the default setting for windows. This may however not be the default for your environment. 
Set-ExecutionPolicy Restricted
Downloaded 0 times
- - - - - (0)
Comments

No Comments