Run unsigned powershell scripts Set-ExecutionPolicy RemoteSigned To allow pwshell scripts to run, and: Set-ExecutionPolicy Restricted To restrict their execution again.