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

Filter example?

$
0
0

Can someone explain to me how to filter AD results based on  

-Filter { GivenName -eq Surname }

I am trying to get a list of accounts that have the same first and last name.  I get a syntax error with this filter and I don't know what is wrong.

I'm still learning so thanks in advance for any input you provide.


Viewing all articles
Browse latest Browse all 6937

Trending Articles