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
jimmckenzieAsked:
Who is Participating?
 
LeeDerbyshireConnect With a Mentor Commented:
get-mailbox | select displayname,primarysmtpaddress > C:\whatever.txt
0
 
peakpeakCommented:
Probably is but you can also export the list from Users And Computers. Just select the list and right-click, choose Export list.
0
 
jimmckenzieAuthor Commented:
Leederbyshire,
                         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,
0
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.