Closed wdwinslow closed 6 years ago
@wdwinslow Did you have any problem before changing the Policy to AllSigned
? We can look into signing the scripts and I think this will solve the problem.
@quoctruong Everything works perfectly with PowerShell Execution set to RemoteSigned
. Thanks for your help!
We recently changed our PowerShell Execution Policy domain wide to
AllSigned
.Some GCP PowerShell scripts - such as the Compute Engine auto updater are digitally signed and work fine with this policy. For example:
C:\Program Files\Google\Compute Engine\tools\auto_updater.ps1
However, after setting this policy we are unable to run
Import-Module GoogleCloud
. Doing so yields this error.Is this something you all could resolve?