Skip to content

Instantly share code, notes, and snippets.

@pkirch
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkirch/9a93bf2306e2d5419623 to your computer and use it in GitHub Desktop.
Save pkirch/9a93bf2306e2d5419623 to your computer and use it in GitHub Desktop.
This sample shows the usage of Get-AzureSubscription.
Get-AzureSubscription
<# Output
SubscriptionId : c6244819-a8d6-4279-b492-4a47f4301c54
SubscriptionName : Azure MSDN - pkirchner
Environment : AzureCloud
SupportedModes : AzureServiceManagement
DefaultAccount : 914193B3332ED5FFF26CECABB522B42AA08EDB0E
Accounts : {914193B3332ED5FFF26CECABB522B42AA08EDB0E, 8BC857EA6D9DA18CCEFB2E3DD820A1ECD43C8060}
IsDefault : True
IsCurrent : True
CurrentStorageAccountName : pkmsft
 
SubscriptionId : d1c2d82d-11f3-4454-950b-784bf663c0c6
SubscriptionName : MSFT pkirch
Environment : AzureCloud
SupportedModes : AzureServiceManagement
DefaultAccount : A6D71DD42B1EBEFD3FF5EE501970C8C05847CCF5
Accounts : {A6D71DD42B1EBEFD3FF5EE501970C8C05847CCF5}
IsDefault : False
IsCurrent : False
CurrentStorageAccountName : testlabclient
#>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment