Checking NTP source status and info using powershell?

People,

How can I get the list of server name and the NTP setting for each of the server in an OU ?

If possible the result can be exported to  csv file.

Thanks
LVL 9
Senior IT System EngineerIT ProfessionalAsked:
Who is Participating?
 
Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
You could obtain the settings from scripts below, however, remember that in AD, by default all computers sync time versus DCs and there should be only one DC that sync time with an outside reliable time server.  

http://pwrshell.net/ntp-reporting-function/
http://jeffwouters.nl/index.php/2013/09/powershell-function-to-get-time-server-ntp-settings-from-clients/
0
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
Yes, that's what I'm trying to achieve by synching all workststions to the PDC emulator DC.

But somehow I've found out that some Domajn Controller in my AD domain (single domain forest) is pointing to another DC not the PDC emulator. That's why I'm confirms why.
0
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
thanks !
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.