Set-VMDisk

May 6, 2011 at 10:13 PM

Hello,

I am trying to change an attached SCSI disk with Set-VMDisk. However I cannot get it to work, because it always changes the IDE disk on 0/0. Is it possible to use Set-VMDisk (or Add-VMDisk) with SCSI disks?

Why? I want to rename the VHD attached to the SCSI ID...

Thanks and best wishes,

Gerard

May 7, 2011 at 8:28 AM

That was quite simple: just add -SCSI

Set-VMdisk $VM $VHD.ControllerID $VHD.DriveLUN $NewName

-SCSI

Thanks!