我已經更新了谷歌雲SDK(gcloud),無論是在一般使用:爲什麼PowerShell無法找到gcloud cmdlet?
gcloud components update
和公正的PowerShell和:
gcloud components update powershell
運行gcloud --version
顯示:
Google Cloud SDK 122.0.0
beta 2016.01.12
bq 2.0.24
bq-win 2.0.24
bundled-python 2.7.10
core 2016.08.16
core-win 2016.08.05
gcloud
gsutil 4.20
gsutil-win 4.20
powershell 0.1.3
windows-ssh-tools 2016.05.13
當我打開PowerShell並嘗試Get-GcsBucket
雖然,我看到此錯誤:
Get-GcsBucket : The term 'Get-GcsBucket' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
如何讓PowerShell識別gcloud cmdlet?