Skip to content

Instantly share code, notes, and snippets.

@gravejester

gravejester/AzureAuth3.bat

Last active Jun 13, 2017
Embed
What would you like to do?
@echo off
IF [%1]==[] (
IF [%2]==[] (
IF [%3]==[] (
az login
)
)
) ELSE (
az login --username %1 --password %2 --tenant %3 --service-principal
)
REM YOUR CODE GOES HERE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment