Solved

Export list of Email Enabled Public Folders - error

Posted on 2016-08-11
4
36 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
ID: 41752161
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
ID: 41752164
Get-MailPublicFolder | select primarysmtpaddress,emailaddress,identity | Export-Csv MailenabledPF.csv
0
 
LVL 1

Author Comment

by:Harold
ID: 41752173
@schnellsolutions & Foxluv : HA....no spaces??  Got it!

Thanks much!!
0
 
LVL 1

Author Closing Comment

by:Harold
ID: 41752181
Appreciate the help!!
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
A procedure for exporting installed hotfix details of remote computers using powershell
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

776 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