Mailbox Export Request

To export user mailbox data:

New-MailboxExportRequest -Mailbox DOMAIN\Username -FilePath "\\SERVER\Directory\Username.pst"

See http://technet.microsoft.com/en-gb/library/ff607299(v=exchg.141).aspx

 

To export emails from specific sender/recipient:

New-MailboxExportRequest -Mailbox DOMAIN\Username -ContentFilter {(All -like '*me@hotmail.com*') -and (Received -gt "01/11/2012")} -FilePath "\\UNC path\File.pst"

 

To export emails from a specific folder (which contains forward slash):

New-MailboxExportRequest -Mailbox DOMAIN\Username -FilePath "\\UNC path\File.pst" -IncludeFolders "<FolderName>/01\/01\/2017 12:00:00/*"

 

To get progress of Export:

Get-MailboxExportRequest | Get-MailboxExportRequestStatistics

 

Remove an Export Request:

Remove-MailboxExportRequest -Identity "Username\MailboxExport"

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s