• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3959
  • Last Modified:

Exchange powershell command to list email adresses on a Public Folder

I need to get a list of email addresses associatted with a public folder in an export, to convert to a shared mailbox. There are over 50 of them. I have the following command which does list them but then it truncates and dosnt show all of them. I have tried adding -resultsize unlimited but it dosent change the out put.. any help would be much appreciated.

Get-MailPublicFolder -Identity "\IT Soltions\SQL SMTP Addresses" | FL Name,EmailAddresses
0
TXRhino
Asked:
TXRhino
1 Solution
 
Joshua GrantomSenior EngineerCommented:
Try exporting it instead.

Get-MailPublicFolder -Identity "\IT Solutions\SQL SMTP Addresses" -ResultSize 5000 | Select Name,EmailAddresses | Export-CSV C:\EmailAddList.csv -nti

Open in new window

0
 
Satyendra SharmaSenior ConsultantCommented:
Get-MailPublicFolder -Identity "\IT Soltions\SQL SMTP Addresses" | Select-Object -ExpandProperty EmailAddresses
0
 
TXRhinoAuthor Commented:
it was a little dirty of an export than I wanted but with some assistance from excel I got what I needed quickly... thanks for the assistance.
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now