When executing the count i am getting the below error:
The term 'customAttribute6' is not recognized as the name of a cmdlet, function
, script file, or operable program. Check the spelling of the name, or if a pat
h was included, verify that the path is correct and try again.
+ get-user -resultsize unlimited -OrganizationalUnit mydomain.com/users -Filter
(customAttribute6 <<<< -like '76*')
+ CategoryInfo : ObjectNotFound: (customAttribute1:String) , Co
+ FullyQualifiedErrorId : CommandNotFoundException
Is there a way i can use custom attribute to retrieve AD users list.