Situatie
# Restricted – No scripts can be run. Windows PowerShell can be used only in interactive mode.
Set-ExecutionPolicy -ExecutionPolicy Restricted
# AllSigned – Only scripts signed by a trusted publisher can be run.
Set-ExecutionPolicy -ExecutionPolicy AllSigned
# RemoteSigned – Downloaded scripts must be signed by a trusted publisher before they can be run.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
# Unrestricted – No restrictions – All Windows PowerShell scripts can be run.
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Leave A Comment?