I am trying to write a user definaed query in AD using LDAP to find all of the user's whose country is either Denmark, Sweden, Norway, finland or Germany. Is it possible to have an or command in an ldap query?
Ideally I would like to include anyone who has Italy in their Office field and anyone with Ireland in their Job title.
I realise I am asking a lot but I've been trying to et my head around this for the last couple of days.
I'd also be happy to get this straight into a csv file if it's easier to do in something like powershell.
Hope someone can help or point me in the right direction.
Thanks in advance.