Avatar of Christian Hans
Christian Hans
Flag for United States of America asked on

Export ALL EmailAddresses in the domain into separate cells

How can I export a listing of ALL "PrimarySMTPAddress" and "EmailAddresses" users have in Exchange 2013?

When I try exporting using Get-Mailbox | FL | Select-Object DisplayName,UserPrincipalName,PrimarySMTPAddress,EmailAddresses

I export all the data but is there a way to separate or expand out the EmailAddresses output instead of having it all in one field?

I just want an export that allows me to filter later in excel by ALL domain names actually being used by users, functional or not.

Thanks in advance.
ExchangePowershellActive Directory

Avatar of undefined
Last Comment
Minecraft_ Enderman

8/22/2022 - Mon
Bob McCoy

Get rid of the Format-List in the middle of the pipeline.
ASKER CERTIFIED SOLUTION
Minecraft_ Enderman

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy