Exchange 2010 – Export mailbox to pst

Start Exchange Management Shell.
Give your self rights to do export and import
New-ManagementRoleAssignment –Role “Mailbox Import Export” –User Administrator

Then close Exchange Management Shell and restart it.

Now export mailbox using this command:
New-MailboxExportRequest -mailbox user@domain.no -FilePath \\localhost\temp$\user.pst

The export command needs a UNC path for the filepath. I have just created a hidden temp share. Remember to delete temps after job is completed 🙂

Import PST file to exchange mailbox from Powershell

New-MailboxImportRequest –Mailbox bruker –FilePath \servermappenavn.pst

© 2020 IdefixWiki

Theme by Anders NorénUp ↑