Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Saved Query in AD

Posted on 2010-09-14
4
Medium Priority
?
304 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 2000 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Suggested Courses

715 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