0

Is it possible to get latest USN between all domain controllers ?

Get-ADReplicationUpToDatenessVectorTable -Target "domain.com" |
select LastReplicationSuccess, Server, USNFilter | 
Sort-Object -Property LastReplicationSuccess -Descending |  Format-Table
(Get-ADDomainController).HostName | 
Get-ADReplicationUpToDatenessVectorTable -Scope Server | 
select LastReplicationSuccess, Server, USNFilter | 
Sort-Object -Property LastReplicationSuccess -Descending |  Format-Table

The output only showing for same domain controller host.

Gabriel Luci
  • 38,328
  • 4
  • 55
  • 84
Manas Dash
  • 53
  • 8

0 Answers0