Solved

Export list of Email Enabled Public Folders - error

Posted on 2016-08-11
4
27 Views
Last Modified: 2016-08-11
Can someone tell me what's wrong with this command?

[PS] C:\Users\administrator.TSN\Desktop>Get-MailPublicFolder | select primarysmtpaddress, email address, identity | expo
rt-csv MailenabledPF.csv
Select-Object : A positional parameter cannot be found that accepts argument 'System.Object[]'.
At line:1 char:30
+ Get-MailPublicFolder | select <<<<  primarysmtpaddress, email address, identity | export-csv MailenabledPF.csv
    + CategoryInfo          : InvalidArgument: (:) [Select-Object], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SelectObjectCommand
0
Comment
Question by:Harold
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
FOX earned 250 total points
Comment Utility
email address doesn't have a space .  it should be emailaddress   try that
0
 
LVL 14

Assisted Solution

by:Schnell Solutions
Schnell Solutions earned 250 total points
Comment Utility
Get-MailPublicFolder | select primarysmtpaddress,emailaddress,identity | Export-Csv MailenabledPF.csv
0
 
LVL 1

Author Comment

by:Harold
Comment Utility
@schnellsolutions & Foxluv : HA....no spaces??  Got it!

Thanks much!!
0
 
LVL 1

Author Closing Comment

by:Harold
Comment Utility
Appreciate the help!!
0

Featured Post

Want to promote your upcoming event?

Is your company attending an event or exhibiting at a trade show soon? Are you speaking at a conference? Spread the word by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Synchronize a new Active Directory domain with an existing Office 365 tenant
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now