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...