How to query Active Directory for users with Non-Default mailbox quota limit set.

This is something I was working on yesterday and wanted to find out all the user's on my Exchange server with Non-Default Mailbox limit set.

You can do this via Ldifde and its real easy all you have to do is to query the "mDBUserDefaults" attribute and export it to a text file.

ldifde -f c:\limit.txt -r "(&(objectclass=user)(msDBUserDefaults=FALSE))" -l "DN of the HomeMdb of the Database"


ldifde -f  c:\limit.txt -r "(&(objectclass=user)(msDBUserDefaults=FALSE))" -l "CN=Mailbox Store (EXCHANGE2003),CN=First Storage Group,CN=InformationStore,CN=EXCHANGE2003,CN=Servers,CN=First AdministrativeGroup,CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN