One PowerShell Report for AD Replication Troubleshooting
Purpose Every AD replication issue turns into the same routine — repadmin /showrepl, dfsrdiag replicationstate, dfsrmig /GetMigrationState, GPO version compares, event log spelunking, share checks. Different console for each, output that doesn’t line up, and half of them run only on a DC.
Test-VBReplicationHealth.ps1 replaces that dance with a single script that runs every one of those checks and returns one colour-coded report — plus a structured object you can pipe or export.