Created
December 28, 2015 12:41
-
-
Save undernewmanagement/e5164afbe0ee240a48dc to your computer and use it in GitHub Desktop.
Get IP address of a VM using azure cli
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
azure vm show <RG_GROUP> <VM_NAME> |grep "Public IP address" | awk -F ":" '{print $3}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment