Which two Azure PowerShell cmdlets should you run?

A company has multiple Azure subscriptions. It plans to deploy a large number of virtual machines
(VMs) into Azure.
You install the Azure PowerShell module, but you are unable connect to all of the company’s Azure
subscriptions.
You need to automate the management of the Azure subscriptions.
Which two Azure PowerShell cmdlets should you run?

A company has multiple Azure subscriptions. It plans to deploy a large number of virtual machines
(VMs) into Azure.
You install the Azure PowerShell module, but you are unable connect to all of the company’s Azure
subscriptions.
You need to automate the management of the Azure subscriptions.
Which two Azure PowerShell cmdlets should you run?

A.
Get-AzurePublishSettingsFile

B.
Import-AzurePublishSettingsFile

C.
Add-AzureSubscription

D.
Import-AzureCertificate

E.
Get-AzureCertificate

Explanation:
Before you start using the Windows Azure cmdlets to automate deployments, you must configure
connectivity between the provisioning computer and Windows Azure. You can do this automatically
by downloading the PublishSettings file from Windows Azure and importing it.
To download and import publish settings and subscription information
At the Windows PowerShell command prompt, type the following command, and then press Enter.
Get-AzurePublishSettingsFile
2. Sign in to the Windows Azure Management Portal, and then follow the instructions to download
your Windows Azure publishing settings. Save the file as a .publishsettings type file to your
computer.
3. In the Windows Azure PowerShell window, at the command prompt, type the following
command, and then press Enter.
Import-AzurePublishSettingsFile <mysettings>.publishsettings
How to: Download and Import Publish Settings and Subscription Information
https://msdn.microsoft.com/en-us/library/dn385850%28v=nav.70%29.aspx



Leave a Reply 0

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