I'm the "script guy" at my work, which is a blessing and a curse... I've been tasked with generating a script of:
Can you create a script to pull all users that have a proxy address that is not an xyz.org email address out of Active Directory.
What would be the best approach? I'm not sure where the best place to look for this is. I'm researching it now, but since I don't know the best terms to use in my searches... It's taking me longer than I hoped to find something useful.
Utilizing this:
%SystemRoot%\SYSTEM32\rundll32.exe dsquery,OpenQueryWindow
gives me a lightweight search tool that shows the basics of what I want... the only problem is it doesn't have a "like" or "contains" search function.

I need the same kinda search... but with the ability to filter out the proxy addresses that don't contain "xyz.org".