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