Created
July 10, 2017 14:15
-
-
Save erichexter/534fe0fcbd1285b30500e065ff10413e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$subscriptions=Get-AzureRmSubscription | select-object SubscriptionId -Unique | |
$rg=@() | |
$subscriptions | % {$_; Set-AzureRmContext -SubscriptionId $_.SubscriptionId ; $rg += Get-AzureRmResourceGroup|select-object Resourc | |
eGroupName} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment