Friday, July 25, 2014

Disabled AD Account that have mailboxes

Please execute the command below in EMS;

get-Mailbox -resultsize unlimited | where { $_.ExchangeUserAccountControl -match “AccountDisabled”} | select name,database,organizationalunit | sort-object name | export-csv c:\disabledaccountswithmailbox.csv
Read more...
 
span.fullpost {display:none;}