Time variance across a domain.
In my never ending quest to rid myself of time sync issues I created the following PowerShell script. I wrote it some time ago and can't recall if I borrowed bits so if you see what looks like your code snippets in there forgive me. The script scans the current domain using the current users credentials. It generates an Excel spreadsheet and populates it with the names of all Windows systems it finds. I have an exclusion to bypass anything with ESX in the name so my VMware hosts are ignored. It then does a time comparison between the PDC and the target PC and logs the results to the spreadsheet. <#============================================================================== File Name : Domain-Time-Validator.ps1 Original Author : Kenneth C. Mazie (kcmjr AT kcmjr DOT com) : ...