get the all disabled IDs in Ad and Exchange with full details
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,Balwan Singh
September 20th, 2011 2:31pm
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
Free Windows Admin Tool Kit Click here and download it now
September 20th, 2011 3:49pm
Thx for reply. its working.
But i required AD IDs also. is there any LADAP query or Exe Available.
Rgds,
Balwan SinghBalwan Singh
September 20th, 2011 4:19pm