Question related to Google's Cloud Tools for PowerShell
Questions tagged [google-cloud-powershell]
8 questions
26
votes
1 answer
Why can't PowerShell find the gcloud cmdlets?
I've updated the Google Cloud SDK (gcloud), both in general with:
gcloud components update
And just for PowerShell with:
gcloud components update powershell
Running gcloud --version shows:
Google Cloud SDK 122.0.0
beta 2016.01.12
bq 2.0.24
bq-win…

Jon Skeet
- 1,421,763
- 867
- 9,128
- 9,194
1
vote
2 answers
How to Enable virtual displays on GCP VMs with Powershell?
I am creating GCP VMs using a combination of the "New-GceInstanceConfig" and "Add-GceInstance", and it is working fine. However, I would like to add in the ability to turn on the virtual display. I can do this in the Console, however I need to turn…

Mike
- 93
- 1
- 1
- 6
1
vote
1 answer
Google Cloud SDK Powershell - commands open up a script file in text editor
I installed the Google-Cloud SDK using the install here and selecting the "install for all users" option and checking the box for the powershell tools.
I now have a weird situation whereby if I run PowerShell as admin then run the command:
gcloud…

Stewart_R
- 13,764
- 11
- 60
- 106
1
vote
2 answers
Cannot find path because it does not exist
PS D:\> cd gs:\
cd : Cannot find drive. A drive with the name 'gs' does not exist.
PS D:\> Get-GcsBucket
PS D:\> cd gs:\mybucket
Why I can not change drive to gs:\ before Get-GcsBucket?
PS gs:\mybucket> mkdir NewFolder
PS gs:\mybucket> cd…

vovkas
- 1,091
- 10
- 21
1
vote
1 answer
Terminal command to start new google app engine project?
What is the command to create a new app engine project with skeleton files included? Since I can't use the launcher GUI on ubuntu, I've been successfully using dev_appserver.py through terminal.... but I've been copy and pasting files from hello…

Murielg
- 13
- 1
- 4
0
votes
0 answers
Google Cloud Powershell Test-GcsBucket killing process
Installed GCloud SDK components
Google Cloud SDK 434.0.0
bq 2.0.93
core 2023.06.02
gke-gcloud-auth-plugin 0.5.3
gsutil 5.24
If I run the following:
Test-GcsBucket -Name blahblah
It immediately returns true and then a second or 2 later i get…

Matt
- 389
- 1
- 8
- 15
0
votes
1 answer
Permissions required to run inside Compute Engine
I have a Google Cloud Powershell script for managing snapshots that works flawlessly from my workstation but will not run inside the VM due to permissions errors like this:
PS>TerminatingError(Get-GceDisk): "Google.Apis.Requests.RequestError
…

mcbobbo
- 1
- 1
-1
votes
2 answers
PowerShell Tools can't download files from cloud storage, but gsutil works
Managed to get the PowerShell cmdlets installed and have been trying to download or list files in our bucket. I keep getting this message when I try any commands, as shown in the documentation.
Object reference not set to an instance of an…

Esuriency
- 107
- 1
- 3
- 12