The first time you try to execute a script from PowerShell you will most likely have to change the execution policy for PowerShell. It is recommended to set it to RemoteSigned. This would mean that all remote scripts must be signed or PowerShell will refuse to execute them. To change the execution policy: Set-ExecutionPolicy RemoteSigned [...]