Which Power Shell command should you use?

You are the administrator for three Azure subscriptions named Dev, Test, and Prod.Your Azure Power Shell profile is configured with the Dev subscription as the default.
You need to create a new virtual machine in the Test subscription by using the least administrative effort.
Which Power Shell command should you use?

You are the administrator for three Azure subscriptions named Dev, Test, and Prod.Your Azure Power Shell profile is configured with the Dev subscription as the default.
You need to create a new virtual machine in the Test subscription by using the least administrative effort.
Which Power Shell command should you use?

A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:
Example: Set the current subscription
This command makes “ContosoEngineering” the current subscription.
Windows PowerShell
C:\\PS> Select-AzureSubscription -SubscriptionName ContosoEngineering -Current

Select-AzureSubscription
URL: http://msdn.microsoft.com/en-us/library/dn722499.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *