Skip to content

Instantly share code, notes, and snippets.

@lkurzyniec
Last active January 8, 2021 08:07
Show Gist options
  • Save lkurzyniec/44ca30f50f3ab1350eb4ed510ecbf3a8 to your computer and use it in GitHub Desktop.
Save lkurzyniec/44ca30f50f3ab1350eb4ed510ecbf3a8 to your computer and use it in GitHub Desktop.
simple batch file to switch between az profiles
@echo off
IF "%~1"=="" ECHO No profile
IF "%~1"=="-pgs" call az account set --subscription b***
IF "%~1"=="-private" call az account set --subscription 5***
call az account show
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment