Am using below syntax to export contacts folder but its giving error.
New-MailboxExportRequest -Mailbox mailbox name -IncludeFolders "Contacts" -filepath \\servernameD\share\user.pst
getting below error.
A positional parameter cannot be found that accepts argument 'Contacts\AbhinavGoel.pst'.
+ CategoryInfo : InvalidArgument: (:) [New-MailboxExportRequest], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,New-MailboxExportRequest
New-MailboxExportRequest -Mailbox <alias> -IncludeFolders Contacts -FilePath \\FQDN of the server\share\alias.pst
Please try to use the above, it worked for me :)
- Marked as answer by Simon_WuMicrosoft contingent staff, Moderator Tuesday, January 07, 2014 8:15 AM
Hi Mahesh ,
Firstly, I recommend you try the above command and check if there is still error.
And here is reference about how to export contacts from Exchange 2010:
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
TechNet Community Support