osceolakid
MIS
Newbie to WMI but feel someone possibly has done something similar to this. Anyone know of anything?
Thanks!
Osceolakid
Thanks!
Osceolakid
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
bDVD=false
set wmisvc=getobject("winmgmts:root\cimv2")
set cPMedia=wmisvc.execquery("select * from win32_physicalMedia")
for each oPMedia in cPMedia
if (oPMedia.MediaType>=22) and (oPMedia.MediaType<=26) then
bDVD=true : exit for
end if
next
if bDVD then wscript.echo "You have pnp dvd installed."
set cPMedia=nothing