If you are unable to run the Powershell script on the Windows server and receive the following error:
File C:\test.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.
Resolution:
Change the Windows PowerShell Script Execution Policy with the following command: set-executionpolicy remotesigned
File C:\test.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.
Resolution:
Change the Windows PowerShell Script Execution Policy with the following command: set-executionpolicy remotesigned
No comments:
Post a Comment