asked on
$_.DistinguishedName -match 'OU=Test,DC=yourdomain,DC=com$'
It's a regular expression matching anything at the end of the string so we look for yourdomain.com/Test in effect.$_.DistinguishedName -match 'OU=Test2,OU=Test1,OU=Test'
Is that what you mean?This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.
TRUSTED BY
ASKER
Test > Test1 > Test2