title: Create Azure VM using PowerShell with Managed Disks using Market Place Image
body: <p>I have been scratching my head for ages and cannot find any information about this.  So can someone please tell me how to create a VM using PowerShell so that the VM has managed disks without using <code>ConvertTo-AzureRmVMManagedDisk</code> and is based on a market place image like <code> Get-AzureRmVMImage -Location $location -PublisherName "MicrosoftWindowsServer" -Offer "WindowsServer" -Skus "2016-Datacenter" | Sort-Object Version -Descending | Select-Object -Index 0 </code></p>
  
  <p>Thanks.</p>