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.