Report an Agent's Current Time in KACE?
We recently had an issue with the Windows system time on a lot of our workstations in the field. Most of these systems are XP and they are NOT on a domain. We pushed out a script to all of the affected workstations change the time server and then update the time. Since that has been pushed, we would like to make sure it was sucessful on all of the systems without having to log on to each system (600+ systems affected). Is there a way in KACE to report back the current system time on each system. If not a option in KACE, any other avenues that anyone may suggest?
Answers (2)
do not know how good you are at scripting but here are a couple of links
You could use something like this:
ShellCommandTextReturn(wmic path win32_localtime get month,day,hour,minute)
The caveat is that it will only be as accurate as the last system check in.
Comments:
-
On second thought, this might be better as it would show the SNTP source that the computer is pointing to:
ShellCommandTextReturn(Net Time /querysntp)
You might also be able to use W32tm for this: http://technet.microsoft.com/en-us/library/bb491016.aspx - jknox 12 years ago