Skip to content

Instantly share code, notes, and snippets.

@dedickinson
Created July 31, 2018 22:15
Show Gist options
  • Save dedickinson/a73230d8b59a38ca9c9a7b9001c42f83 to your computer and use it in GitHub Desktop.
Save dedickinson/a73230d8b59a38ca9c9a7b9001c42f83 to your computer and use it in GitHub Desktop.
Azure - PowerShell - Change Subscription
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