Moar Scripting ><

Gohaan

Limit Breaker
Adventurer
Joined
Mar 14, 2008
Messages
614
Location
Ontario, Canada
Main Job
Monk-Male
Secondary Job
Thief-Male
Third Job
BlackMage-Male
Server
Quetzalcoatl
FFXIV
Gohaan
I am trying to write a script to search exchange for users without a specific word in thier display name and find out what exchange server it is on(we have like 40 servers) and its driving me nuts. Nothing works, any suggestions?

I am not going to post the syntax cause im pretty sure its all wrong
 
Ok, got most of it working but how do I filter it using the Canonical Name.

As canonical Name not equal to...

When I use this

"AND msExchHomeServerName='/o=blahblah/ou=First Administrative Group/cn=Configuration/cn=Servers/cn=blahblah*' AND canonicalName<>'Gohaan.ca/Accounts/Blahblah/*' "

It gives me an error Inappropriate matching. It should work fine. Works fine with out the bolded part. WTF am I doing wrong here.
 
Back
Top