Last active
January 8, 2021 08:07
-
-
Save lkurzyniec/44ca30f50f3ab1350eb4ed510ecbf3a8 to your computer and use it in GitHub Desktop.
simple batch file to switch between az profiles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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