Using the Quest AD cmdlets, this easily returns all groups with underscores around the $Code.Get-QADGroup "*`_$Code`_*" How can this be done with Get-ADGroup (ie, not using the Quest cmdlets, which not everyone has).The -Filter parm only accepts the * wildcard. Help says to use LDAPFilter parm, but I can't seem to get it right:Get-ADGroup -LDAPFilter {(name="*_$Code_*")} is not workingThanks!
↧