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?  

0 Comments   [ + ] Show comments

Answers (2)

Posted by: jknox 8 years ago
Red Belt

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.

  • 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 8 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ