Does anyone have the Exchange 2007 powershell cmdlet that would export a list of all the users who have an email address in my organisation to a text file? I'd like it in the format
User Email Address
Adam adam@domain.co.uk
John john@domain.co.uk
I imagine it would start with "Get-Mailbox"... I've done commands that list mailboxe sizes but after Googling i can't find anything that would give me all the email addresses.
Thank you, easier than i thought it would be! i changed it slightly from fl to format-table to output it in an easier fromat for me, but it's done the job! :)