Reader small image

You're reading from  Learning Microsoft Azure Storage

Product typeBook
Published inNov 2017
PublisherPackt
ISBN-139781785884917
Edition1st Edition
Tools
Right arrow

Automating the tasks

As usual at the end of each chapter, we get our hands dirty with automation.

Creating an Azure VM using PowerShell

Creating an Azure VM is one of the most common tasks on Azure, so let's get started.

First off, let's create the resources that make up the VM, and let's kick off with network resources.

Network resources

Every VM requires some network resources to be able to function properly, such as a subnet, virtual network, public IP address, and network security group (NSG), as shown in the following cmdlets:

$Subnet = New-AzureRmVirtualNetworkSubnetConfig...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learning Microsoft Azure Storage
Published in: Nov 2017Publisher: PacktISBN-13: 9781785884917