Execution of scripts is Disabled

Posted on Posted in ESXi, VCenter

When you run script in PowerCLI at the first time, you faced error something like this :

File cannot be loaded because the execution of scripts is disabled on this system

You should Run this script in PowerShell first, then try again :

set-executionpolicy unrestricted

Also obviously enter : Y

Leave a Reply

Your email address will not be published. Required fields are marked *