Exchange 2013 - New-mailboxexport

Scotch Tech
Scotch Tech used Ask the Experts™
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
Watch Question

Do more with

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

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?
I used -sourcerootfolder instead, that seemed to work.

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


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