Created
July 31, 2018 22:15
-
-
Save dedickinson/a73230d8b59a38ca9c9a7b9001c42f83 to your computer and use it in GitHub Desktop.
Azure - PowerShell - Change Subscription
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
Connect-AzureRmAccount | |
$subs = Get-AzureRmSubscription | |
$subs | |
Set-AzureRmContext -SubscriptionObject $subs[1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment