Set Azurermvmsourceimage Command With the Parameter
You are using the Set-AzureRMVMSourceImage command with the -Version parameter. Vm New-AzureRmVMConfig -VMName vmName -VMSize vmSize vm Set-AzureRmVMSourceImage -VM vm -Id imageId vm Set-AzureRmVMOSDisk -VM vm -StorageAccountType vmStorageType -DiskSizeInGB vmDiskSize -CreateOption FromImage -Caching ReadWrite vm Set-AzureRmVMOperatingSystem -VM vm -Windows. Creating Vm Via Powershell Cmdlet Set Azurermvmosdisk Not Working Anymore You wish to ensure that you get the current image. . You are using the Set-AzureRMVMSourceImage command with the -Version parameter. How to Create Azure VM with PowerShell Script. Set values for an image. Copy data using the WAImportExport tool to disk drives and encrypt the disk drives with BitLocker. Get-AzureRmImage -ResourceGroupName -ImageName. In this article I will show you how you can create Azure VM with Azure Powershell Script that will help you to provision your VM. Yo...