Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Determine the System Time on a ComputerContent of Determine the System Time on a Computer.vbsMD5 Hash: 5B5DC6439D56BCB67D94C2E57C00C508 |
||
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * From Win32_LocalTime") For Each objItem in colItems Wscript.Echo "Month: " & objItem.Month Wscript.Echo "Day: " & objItem.Day Wscript.Echo "Year: " & objItem.Year Wscript.Echo "Hour: " & objItem.Hour Wscript.Echo "Minute: " & objItem.Minute Wscript.Echo "Second: " & objItem.Second Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |