![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Tell Whether a Computer has a Specific CD in It
|
||
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 :: |