maester-tests/ad/trust/Test-MtAdTrustInterForestCount.Tests.ps1
|
Describe "Active Directory - Trusts" -Tag "AD", "AD.Trust", "AD-TRUST-02" { It "AD-TRUST-02: Trust inter-forest count should be investigated" { $result = Test-MtAdTrustInterForestCount if ($null -ne $result) { $result | Should -Be $true -Because "inter-forest trust data should be accessible" } else { Set-ItResult -Skipped -Because "Active Directory data could not be retrieved" } } } |