locked
Remove-VMHardDiskDrive does not remove the file RRS feed

  • General discussion

  • Anyone else notice that the PS cmdlet 'Remove-VMHardDiskDrive' (http://technet.microsoft.com/en-us/library/hh848563.aspx) does not remove the actual file representing the VMHardDiskDrive? IMHO this is a bug as the 'Add-VMHardDiskDrive' cmdlet creates a file and Remove well Remove should remove it.

    Right now the only way to cleanup a HyperV VM completely is to delete the file manually once the Remove cmdlet completes which is nasty.

    Wednesday, July 24, 2013 11:16 PM