I have a large group of public folders. Each folder has a minimum of 3 up to a max of 20 e-mails address that will direct to that public folder.
I have tried writing a ExchangeManagementShell script to extract the e-mail addresses to a CSV file. The command to extract them does what I want it to do in the powershell window but when it goes in to a CSV it just shows a line of text that doesn't mean anything.
Get-MailPublicFolder |Select Displayname, Emailaddresses | export-csv -Path $env:userprofile\Desktop\mail-enabled-public-folders.csv
all I get is
"27c87ef9bbda4f709f6b4002fa4af63c",,,,,
repeated 49 times.
Any help would be appriciated.