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

Windows PowerShell Script Execution Policy

PS C:\Users\Administrator> get-executionpolicy

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