hyper-v powershell add scsi DVD code example
Example: hyper-v powershell add scsi DVD
$AddVMHDDParam = @{
Path = 'C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MS01B_Data.vhdx'
ControllerType = 'SCSI'
ControllerLocation = 1
}
$VM | Add-VMHardDiskDrive @AddVMHDDParam