Enable RemoteSigned in PowerCLI

Start PowerCLI and type: “Set-ExecutionPolicy RemoteSigned

Now running scripts in PowerCLI will be allowed together with other functions.