Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Search for more groups in AD

$
0
0
Hi there,
I am looking for a way to read more Groups in AD.
For example, if a user in the group a and b, it is to be shown.
My code works for a group. But what is the code for two groups?
Get-ADUser -Filter {memberOf -like "CN=a,OU=Printer,DC=domain,DC=Local"}
Thank You from Germany
Marek

Viewing all articles
Browse latest Browse all 6937

Trending Articles