maester-tests/ad/gpo/Test-MtAdGpoLinkedCount.Tests.ps1

Describe "Active Directory - Group Policy" -Tag "AD", "AD.GPO", "AD-GPOL-01" {
    It "AD-GPOL-01: GPO linked count should be retrievable" {

        $result = Test-MtAdGpoLinkedCount

        if ($null -ne $result) {
            $result | Should -Be $true -Because "GPO linked data should be accessible"
        }
    }
}