Run the New-AzureRmImageConfig command to create an image configuration that will be used to create the eventual image:
$image = New-AzureRmImageConfig `
-Location EastUS `
-SourceVirtualMachineId $vm.ID
Run the New-AzureRmImageConfig command to create an image configuration that will be used to create the eventual image:
$image = New-AzureRmImageConfig `
-Location EastUS `
-SourceVirtualMachineId $vm.ID
18.221.15.15