Thread: Общие вопросы (General Questions)/Windows PowerShell Script Execution Policy

Windows PowerShell Script Execution Policy

PS C:\Users\Administrator> get-executionpolicy
Restricted

In order to change the prevailing execution policy, the Set-ExecutionPolicy cmdlet is used in conjunction with the new execution policy setting. For example, to change to RemoteSigned, the following command should be executed:



PS C:\Users\Administrator> set-executionpolicy remotesigned

www.techotopia.com/index.php/Windows_PowerShell_1.0_Security