Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Get Just the User Name When Using the Win32_ComputerSystem ClassContent of Get Just the User Name When Using the Win32_ComputerSystem Class.vbsMD5 Hash: 00699E8745D6B16066204251EAD81F19 |
||
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * From Win32_ComputerSystem") For Each objItem in colItems Wscript.Echo objItem.UserName Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |