Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI CIM_PhysicalElement QueryContent of WMI CIM_PhysicalElement Query.vbsMD5 Hash: F7EDBC6B0E65FF9D4C91DAE5F297293F |
||
On Error Resume Next
strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from CIM_PhysicalElement",,48) For Each objItem in colItems Wscript.Echo "Caption: " & objItem.Caption Wscript.Echo "CreationClassName: " & objItem.CreationClassName Wscript.Echo "Description: " & objItem.Description Wscript.Echo "InstallDate: " & objItem.InstallDate Wscript.Echo "Manufacturer: " & objItem.Manufacturer Wscript.Echo "Model: " & objItem.Model Wscript.Echo "Name: " & objItem.Name Wscript.Echo "OtherIdentifyingInfo: " & objItem.OtherIdentifyingInfo Wscript.Echo "PartNumber: " & objItem.PartNumber Wscript.Echo "PoweredOn: " & objItem.PoweredOn Wscript.Echo "SerialNumber: " & objItem.SerialNumber Wscript.Echo "SKU: " & objItem.SKU Wscript.Echo "Status: " & objItem.Status Wscript.Echo "Tag: " & objItem.Tag Wscript.Echo "Version: " & objItem.Version Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |