Exchange 2013 - New-mailboxexport

Scotch Tech
Scotch Tech used Ask the Experts™
on
This command is killing me. How can I export a specific folder under the Top Level?

I tried:
New-MailboxExportRequest -Mailbox name -sourcerootfolder "name\RCO 002278-03205\" -FilePath \\ffuspexch01\filename.pst

New-MailboxExportRequest -Mailbox name -includefolder "name\RCO 002278-03205\*" -FilePath \\ffuspexch01\filename.pst
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Ken CritserInfrastructure Engineer - Group Policy, AD, Citrix

Commented:
i typically use
get-mailboxfolderstatistics <name> | select identity

Open in new window

to get the folder name.  

Then when running the export its like this:

new-mailboxexportrequest -mailbox name -IncludeFolders "name\\Folder1\\Folder2" -FilePath \\SomeServer\Someshare\file.pst

Open in new window


You need to doubleslash it to get it to treat it as not having special characters.

Is there a specific error you are getting?
Commented:
I used -sourcerootfolder instead, that seemed to work.

Commented:
you should be probably using something like this to pull a specific folder out in the pst

New-MailboxExportRequest -Mailbox USERNAME -IncludeFolders "#Inbox#" -FilePath \\YOURPATH

Open in new window

Author

Commented:
my solution worked

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial