Why is my locally-created script not allowed to run under the RemoteSigned execution policy?

后端 未结 13 1000
自闭症患者
自闭症患者 2021-01-30 02:35

Since this question continues to attract responses that are either refuted by the question body or don\'t address the actual problem, please read th

13条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-30 03:26

    Run below 2 commands in PowerShell window

    1. Set-ExecutionPolicy unrestricted

    2. Unblock-File -Path D:\PowerShell\Script.ps1

提交回复
热议问题