GoogleCloudPlatform / google-cloud-powershell

PowerShell cmdlets for the Google Cloud Platform
http://googlecloudplatform.github.io/google-cloud-powershell/
Apache License 2.0
135 stars 61 forks source link

Commands not working in powershell #641

Closed Shaun-Harrison closed 4 years ago

Shaun-Harrison commented 4 years ago

I'm running a GCE Instance for some time now, with some powershell scripts that use the powershell cloud commands. Recently the scripts are failing so tried running the cloud commands manually , for example get-gceinstance

I keep getting the same generic error no matter the command image

When I use the sdk shell it works fine

I've also checked that the module is loaded and all appears to be fine image

sspage commented 4 years ago

You've installed the Google Cloud SDK? You might try re-running gcloud init as it is a dependency.

Shaun-Harrison commented 4 years ago

Hello - Yes already had it installed, and even uninstalled and reinstalled to try getting it to work - as mentioned in my post, everything works find in the sdk shell, its just powershell that isn't working

Shaun-Harrison commented 4 years ago

You've installed the Google Cloud SDK? You might try re-running gcloud init as it is a dependency.

In case your wondering, issue was due to tls 1.0 & tls 1.1 being disabled