Archive

Posts Tagged ‘CSVDE’

Get SMTP adresses with CSVDE (commandline) in Exchange 2003

November 23, 2011 Leave a comment

This one gives you username and primary Email address

csvde -f users.csv -r “(&(objectCategory=Person)(objectClass=user))” -l “sAMaccountname,mail”

 

This one gives you ALL email addresses connected to the user

csvde -f users.csv -d OU=SBSUsers,OU=Users,OU=MyBusiness,DC=Company,DC=no -r (mailnickname=*) -l “sAMaccountname,mail,proxyaddresses”

%d bloggers like this: