Created
November 27, 2016 12:46
-
-
Save martin9700/ed3ebb27c956880226f1a19d56be1acd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Context "Domain Replication" { | |
$ReplErrors = Get-ADReplicationPartnerMetadata -Target * -Partition * | |
It "Last Replication Result" { | |
$ReplErrors | Measure-Object -Property LastReplicationResult -Sum | Select -ExpandProperty Sum | Should Be 0 | |
} | |
It "Consecutive Replication Failures" { | |
$ReplErrors | Measure-Object -Property ConsecutiveReplicationFailures -Sum | Select -ExpandProperty Sum | Should Be 0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment