How to get a list of SMTP addresses in Exchange 2007

Is there a command that we can use to create a list of all mailboxes and their SMPT addresses in Exchange 2007 using the shell?

Your help is appreciated
Who is Participating?
LeeDerbyshireConnect With a Mentor Commented:
get-mailbox | select displayname,primarysmtpaddress > C:\whatever.txt
Probably is but you can also export the list from Users And Computers. Just select the list and right-click, choose Export list.
jimmckenzieAuthor Commented:
                         thanks for the solution. It does exactly what I need. I also want to thank peakpeak for his quick suggestion.  

thanks very much to both of you,
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.