Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI CIM_Location QueryContent of WMI CIM_Location Query.vbsMD5 Hash: 009AE63C9E697183DAED7C1474F89CF0 |
||
On Error Resume Next
strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from CIM_Location",,48) For Each objItem in colItems Wscript.Echo "Address: " & objItem.Address Wscript.Echo "Name: " & objItem.Name Wscript.Echo "PhysicalPosition: " & objItem.PhysicalPosition Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |