PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

A.
Option A

B.
Option B

C.
Option C

D.
Option D

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

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


Leave a Reply