Solved

Saved Query in AD

Posted on 2010-09-14
4
283 Views
Last Modified: 2012-08-14
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
Comment
Question by:K Anthony O365
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 57

Accepted Solution

by:
Mike Kline earned 500 total points
ID: 33675092
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
 

Author Comment

by:K Anthony O365
ID: 33675900
After running, it tells me that )" is not a vaiid query string.  

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

Thanks!!
0
 
LVL 57

Expert Comment

by:Mike Kline
ID: 33677218
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
 

Author Closing Comment

by:K Anthony O365
ID: 33685633
this was very helpful. Just what I needed!!
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question