Daily IT Matters, this is the place where I post my daily findings on IT.

Wednesday, November 08, 2006

Export all users email addresses from Exchange

Want to create a complete list of all your email addresses in your domain?
And not only the default ones found with

dsquery user | dsget user -email




Ldifde -d "DC=domain,DC=co,DC=uk" -r "(&(mailnickname=*))" -l proxyAddresses -f emailaddresses.txt




Basket Case said...

Thanks for the command. Three week browsing... finally. Those damn dsquery/dsget don't work in this special case. Even my AD Instructor couldn't answer when I asked this.

Thank you very much!!

Bodes Ill said...

Absolutely awesome command! I have spent hours looking for this. Nice, simple, gives exactly what I need. You're a star!!