Dear Experts,
Pls suggest a LDAP query , VB Script or some MS utility to get the all disabled IDs in Ad and Exchange with full details.
Thx in Advance.
Rgds,
If Exchange 2010 this may work for you:
get-Mailbox -resultsize unlimited | where { $_.ExchangeUserAccountControl -match “AccountDisabled”} | select name,database,organizationalunit | sort-object name | export-csv c:\disabled.csv
Thx for reply. its working.
But i required AD IDs also. is there any LADAP query or Exe Available.
Balwan Singh