Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Remove a Virtual Machine DVD DriveContent of Remove a Virtual Machine DVD Drive.vbsMD5 Hash: 6938BF1666C7384F8FC3929C75F81C0A |
||
' Description: Removes all the DVD drives for a virtual machine named Windows 2000 Server.
On Error Resume Next Set objVS = CreateObject("VirtualServer.Application") Set objVM = objVS.FindVirtualMachine("Windows 2000 Server") Set colDVDDrives = objVM.DVDROMDrives For Each objDrive in colDVDDrives errReturn = objVM.RemoveDVDROMDrive(objDrive) Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |