New-VHD `
-Path E:\machines\new-machine\new.vhdx `
-Dynamic `
-SizeBytes 100GB

Add-VMHardDiskDrive `
-VMName new-machine `
-Path E:\machines\new-machine\new.vhdx `
-ControllerType SCSI `
-ControllerNumber 0 `
-ControllerLocation 0

Set-VMHardDiskDrive `
-VMName new-machine `
-ControllerType SCSI `
-ControllerNumber 0 `
-ControllerLocation 0 `
-MinimumIOPS 10 `
-MaximumIOPS 1000

Add-VMScsiController `
-VMName new-machine

Add-VMHardDiskDrive `
-VMName new-machine `
-DiskNumber 1 `
-ControllerType SCSI `
-ControllerNumber 1 `
-ControllerLocation 0

New-VHD `
-Path E:\disks\diffdisk3.vhdx `
-ParentPath E:\machines\new-machine\new.vhdx `
-Differencing



