Check disabled status of multiple mailboxes (and then Delete them)
Ive just finished auditing our exchange server, and there are a whole load of old mailboxes from staff who no longer work here.
The user accounts are still in AD but they are all disabled. If I just delete the accounts, Im assuming this will delete the mailboxes as well?
Ive exported a list of all the mailboxes in the Exchange Server.. is there an automated way I can cross reference this with AD, and get a list of the mailboxes whose correspoding AD account is disabled?