Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Tell Whether a Computer has a Specific CD in ItContent of Tell Whether a Computer has a Specific CD in It.vbsMD5 Hash: A9DE8E2C8E26AFC73D0C7314188DBDCE |
||
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery _ ("Select * From Win32_CDROMDrive Where VolumeName = 'MyApps'") Wscript.Echo colItems.Count | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |