Quantcast
Viewing all articles
Browse latest Browse all 8820

Get-Mailbox Export-CSV not giving expected data

Hoping someone can help.

I am attempting to get name, and email (both primary and secondary smtp) addresses from a get-mailbox command of all users in our system. I am running:

get-mailbox -resultsize unlimited | select-object name, emailaddresses | Export-CSV C:\allmailboxes.csv

But the command yeilds Name, Microsoft.Exchange.Data.ProxyAddressCollection instead

If I run a "get-mailbox 'my name' | select-object name, emailaddresses ...the output is correct. I see my name and both primary and secondary smtp addy's.

How do I get the information I need correctly?


Viewing all articles
Browse latest Browse all 8820

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>