Solution: That's what I'd do:$ouCheck.DistinguishedName -match 'OU=Users,OU=bab,DC=baba,DC=AZ,DC=bab'Seemed to work just fine in my testIf.
確定! 回上一頁