Hello Powershell Teams!!!
I am truing to pull user from AD that are member of the groups with Teammate in it.
I use this basic script but I am not getting any output. Any help will be greatly appreciated.
$ADLocation = 'OU=Users,OU=CH,DC=Contoso,DC=com'
Get-ADUser –SearchBase $ADLocation –LDAPFilter memberOf=*Teammates