Solved

Saved Query in AD

Posted on 2010-09-14
4
298 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:Anthony K 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:Anthony K 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:Anthony K O365
ID: 33685633
this was very helpful. Just what I needed!!
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
This video discusses moving either the default database or any database to a new volume.
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 …
Suggested Courses

635 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