Archive
Posts Tagged ‘pst’
Exchange 2010 – Export mailbox to pst
December 30, 2013
Leave a comment
Start Exchange Management Shell.
Give your self rights to do export and import
Command:
New-ManagementRoleAssignment –Role “Mailbox Import Export” –User Administrator
Then close Exchange Management Shell and restart it.
Now export mailbox using this command:
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
November 24, 2011
Leave a comment
New-MailboxImportRequest –Mailbox bruker –FilePath \servermappenavn.pst