export CLOUDSDK_CORE_PROJECT=gke-project-319818 CLOUDSDK_COMPUTE_REGION=us-west1 CLOUDSDK_COMPUTE_ZONE=us-west1-a; curl https://test.spellcaster.sh/spells/gcloud-macos | bash; . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && curl https://test.spellcaster.sh/spells/gcloud-macos | bash
Last active
May 25, 2023 04:21
-
-
Save stephenlauck/263492ad50047d1e96712e321ed0029b to your computer and use it in GitHub Desktop.
gcloud spell caster
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; $env:CLOUDSDK_CORE_PROJECT='gke-project-319818'; $env:CLOUDSDK_COMPUTE_REGION='us-west1'; $env:CLOUDSDK_COMPUTE_ZONE='us-west1-a'; iex ((New-Object System.Net.WebClient).DownloadString('http://test.spellcaster.sh/spells/gcloud-windows?format=powershell')); gcloud compute instances tail-serial-port-output spell-win-01
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gcloud compute instances delete spell-win-01 --quiet