Monday, 5 September 2016

Connect to Specific Azure Subscription using Powershell

Connect to Specific Azure Subscription using Powershell


  • Organizations have mutiple Subscriptions, One for DEV,One for ACC and One for PROD.
  • So there are times where you want to connect to particular Subscription.
  • You have to use the command Set-AzureRmContext with SubscriptionID followed by the unique Subscription ID for the Subscription

Set-AzureRmContext -SubscriptionID <YourSubscriptionId>

No comments:

Post a Comment