Tag: NTP

NTP reporting function

Hello, I hope this function will help you in your daily work. On large infras it kinda hard to get a correct view of all your NTP configuration and sometimes it’s usefull to have a full view of servers unsynch. This function will gather informations of a server NTP configuration : NTP Source – Only…




Lister les sources NTP de vos serveurs

Bonjour, Un petit truc utile pour voir si tous vos serveurs Windows sont configurés avec le(s) même(s) serveur(s) de temps… Function Get-NTPServer { param ( [Parameter(Position=0,Mandatory=$false,ValueFromPipeline=$true)] [String[]]$ComputerName = $env:computername ) $ComputerName | % { $ntps = w32tm /query /computer:$_ /configuration | ?{$_ -match ‘ntpserver:’} | %{($_ -split “:\s\b”)[1]} new-object psobject -property @{ Server = $_;…