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
Friday, July 25, 2014
Disabled AD Account that have mailboxes
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment