Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 309
  • Last Modified:

Saved Query in AD

Can anyone suggest a Saved Query in Windows 2k3 for finding user accounts with email forwarding configured? (And perhaps a vbscript that will actually select the box "Deliver message to both fowarding Address and mailbox") (I'm running Exchange 2k3 also)

Thanks!!
0
Anthony K O365
Asked:
Anthony K O365
  • 2
  • 2
1 Solution
 
Mike KlineCommented:
See if this will do what you need for the query
http://exchangeshare.wordpress.com/2008/05/26/faq-find-all-users-with-forwarding-address-is-set/
What i'd change is to make the query more efficient
(&(objectcategory=person)(objectclass=user)(altrecipient=*))
Thanks
Mike
0
 
Anthony K O365Author Commented:
After running, it tells me that )" is not a vaiid query string.  

Any thoughts? I'll continue to try work with it.

Thanks!!
0
 
Mike KlineCommented:
I don't have exchange in my lab here at home yet so I can't test the last part.  Can you get all the users (using the query in my screenshot)


Query.PNG
0
 
Anthony K O365Author Commented:
this was very helpful. Just what I needed!!
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now