Microsoft Exchange Server is a remarkable product. I’ve been administering Exchange servers since version 5.0 and it has always been a reliable, leading edge product and Microsoft improves it continually. Having said that, there have always been feature gaps in the product, thus the numerous products on the market that do reporting, filtering and other such things.
I found myself needing to create a list of users who have access to their e-mail using Outlook Web Access. I fired up Active Directory Users and Computers thinking I would do a search on something like the HTTP mailbox property of user accounts and be done with it.
However, it wasn’t going to be that easy. I found there was no such property available. After a extended research session I finally found the right command. Here it is.
For Windows/Exchange Server 2003
dsquery * dc=example,dc=com -limit 10000 -filter “(&(&(objectcategory=user)(homeMDB=*)(|(!(protocolSettings=*))(protocolSettings=*http§1*))))” -attr displayName protocolSettings
If you are an Exchange administrator, bookmark this page, print it out and save it. It will save you a headache one day. Perhaps a small one but it’s my favor to you.