Created
July 28, 2020 05:15
-
-
Save owensengoku/b69c4eb4b328247b20fc013313166841 to your computer and use it in GitHub Desktop.
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
#!bin/bash | |
for ID in $(az account list -o tsv --query '[*].id') | |
do | |
echo $ID | |
az advisor recommendation list --query "[?impact=='High']" -o table --subscription $ID | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment