Change subscription with AzureRM PowerShell cmdlets

Q. How can I change which subscription I am working with using the AzureRM PowerShell cmdlets?

A. To change the context of your PowerShell session use the Set-AzureRmContext cmdlet along with the subscription ID to shift the context to.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish