Remove-VMdrive doesn't remove DVD drive

May 1, 2010 at 6:27 AM



I have a small problems with the Remove-VMdrive command. When no ISO is loaded in the virtual DVD drive, the command doesn't work. Only when a ISO is loaded, the DVD drive will be succesfully removed.

The command I use is: Remove-VMdrive -vm <vmname> -server <servername> -controllerid 1 -lun 0