Avatar of Scotch Tech
Scotch Tech
Flag for United States of America asked on

Exchange 2013 - New-mailboxexport

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
PowershellExchange

Avatar of undefined
Last Comment
Scotch Tech

8/22/2022 - Mon
Ken Critser

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?
ASKER CERTIFIED SOLUTION
Scotch Tech

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Mohammad Ishtyaq khatri

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

Scotch Tech

ASKER
my solution worked
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy