Enabling Execution of PowerShell PS1 Scripts
[et_pb_section fb_built=”1″ admin_label=”section” _builder_version=”3.22″][et_pb_row admin_label=”row” _builder_version=”3.25″ background_size=”initial” background_position=”top_left” background_repeat=”repeat”][et_pb_column type=”4_4″ _builder_version=”3.25″ custom_padding=”|||” custom_padding__hover=”|||”][et_pb_text admin_label=”Text” _builder_version=”3.27.4″ background_size=”initial” background_position=”top_left” background_repeat=”repeat”]If you get the following :
File “xxx.ps1” cannot be loaded because the execution of scripts is disabled on this system. Please see “get-help about_signing” for more details.
To run PowerShell scripts (files that end with .ps1), you must first set the execution policy to Unrestricted.
Just launch powershell, input :
Set-ExecutionPolicy Unrestricted
Reply “Y”, and there you go ![/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section]
Blog List