I'm look for a PowerShell script to forcereplication of all Domain Controllers on all Sites.
I found the one below on the Internet but it doesn't seem to work. It runs and says "SynchAll Finished with no errors" but doesn't replicate the AD changes.
If anybody can give me a script that works that would greatly appreciated.
Thanks
Powershell
Import-ModuleActiveDirectory$DCs=(Get-ADForest).Domains|%{Get-ADDomainController-Filter*-Server$_}|selectHostNameforeach($DCin$DCs){repadmin/syncall$DC.HostName}