Query
How can you run a query to see if domain user account is disabled (i.e. a leaver), but their corresponding exchange mailbox is not disabled?
May 11th, 2011 8:07am

If you are talking about Exchange 2007/2010 , Go here. Exchange: Find Disabled Accounts with Mailboxes Via PowerShell http://msexchangetips.blogspot.com/2009/01/exchange-find-disabled-accounts-with.html For Exchange 2003 you can only get it thru LDIFDE script. Anil
Free Windows Admin Tool Kit Click here and download it now
May 11th, 2011 9:33am

If you are talking about Exchange 2007/2010 , Go here. Exchange: Find Disabled Accounts with Mailboxes Via PowerShell http://msexchangetips.blogspot.com/2009/01/exchange-find-disabled-accounts-with.html For Exchange 2003 you can only get it thru LDIFDE script. Anil Exchange 2003.
May 11th, 2011 9:49am

Hi, 1. Open Active Directory Users and Computers and click the find icon 2. In the "Find" drop down menu, select custom search and click the advanced tab 3. Paste the following in the white pane: (&(UserAccountControl:1.2.840.113556.1.4.803:=2)(msExchHomeServerName=*)(objectClass=User)) This will enumerate all disabled accounts with mailboxes. From here you can delete all the mailboxes by selecting the first user and scolling down to the bottom of the list and selecting the last user by shift + left click. Then right click the list, Exchange tasks and delete mailbox. reference: http://msexchangetips.blogspot.com/2007/06/exchange-find-disabled-accounts-with.htmlPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
May 12th, 2011 10:10pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics