Fundamentals of Azure

Page 482

Creating a new VM using an ARM template New-AzureRmResourceGroupDeployment TemplateUri "https://raw.githubusercontent.com/Azure/azure -quickstart-templates/master/101-vm-simplewindows/azuredeploy.json" ` -ResourceGroupName "AzureEssentials2" ` -TemplateParameterObject @{"adminUsername"="mcollier"; "dnsLabelPrefix" = "az-ez-2"}

When finished, you should see output similar to that in Figure 8-14.

Figure 8-14 Creating a new Azure VM by using an ARM template.

Tip Set the PowerShell preference variable $DebugPreference to Continue to see the debug statements when executing an Azure PowerShell cmdlet, including the HTTP Request

450 of 540

C H A P T E R 8 | Management Tools


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.