...
To do so, open a command line window (cmd.exe) as an Administrator and use the following command:
...
language | powershell |
---|
c:\ |
...
Charon>powershell -command |
...
"Set-ExecutionPolicy |
...
Unrestricted" |
The ExecutionPolicy can also be set to "RemoteSigned
". In this case the .ps1
script files will have to be unblocked as described below.
If you are still prompted to allow for execution of the script, please run the following command to unblock the downloaded charon_cleanshutdown.ps1
file:
...
language | powershell |
---|
...
:
...
TEST TEST TEST
c:\Charon>powershell -command "Unblock-File -path c:\charon\ |
...