November 2017
Intermediate to advanced
276 pages
7h 6m
English
Now, you have your VM up and running and want to add data disks to it using PowerShell, so you need to follow the following steps. The disk I am going to create is a managed disk:
$DiskConfiguration = New-AzureRmDiskConfig -Location 'West Europe' -DiskSizeGB 4095 -AccountType StandardLRS -OsType Windows -CreateOption Empty
New-AzureRmDisk -ResourceGroupName PacktPub -DiskName ...