Example 3 New-Mailbo圎xportRequest -Mailbox Tony -ContentFilter "(Body -like '*company*') -and (body -like '*profit*') -and (Received -lt '')" -FilePath "\\SERVER01\PSTFileShare\Tony_CompanyProfits.pst" pst file on the network shared folder PSTFileShare on SERVER01.
Export mailbox to pst exchange 2010 powershell archive#
This example exports the user Kweku's archive to a. Example 2 New-Mailbo圎xportRequest -Mailbox Kweku -FilePath "\\SERVER01\PSTFileShare\Kweku_Archive.pst" -IsArchive
This example exports the user Ayla Kol's primary mailbox to a. Examples Example 1 New-Mailbo圎xportRequest -Mailbox AylaKol -FilePath "\\SERVER01\PSTFileShare\Ayla_Recovered.pst"
If you don't grant this permission, you will receive an error message stating that Exchange is unable to establish a connection to the PST file on the network share. To save exported PST files to the share: Read/Write permission.To import PST files from the share: Read permission.You need to grant the following permission to the group Exchange Trusted Subsystem to the network share where you want to export or import PST files: To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. You need to be assigned permissions before you can run this cmdlet. You can remove existing export requests with the Remove-Mailbo圎xportRequest cmdlet before starting a new request with the default request name \Mailbo圎xportX (where X = 0-9). However, to create more than 10 export requests for a mailbox, you need to specify a unique name when creating the export request. Microsoft Exchange automatically generates up to 10 unique names for a mailbox export request. You can create more than one mailbox export request per mailbox, and each mailbox export request must have a unique name. In this article Syntax New-Mailbox Export Request For more information, see Add a role to a role group.įor information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax. To use this cmdlet, you need to add the Mailbox Import Export role to a role group (for example, to the Organization Management role group). This cmdlet is available only in the Mailbox Import Export role, and by default, the role isn't assigned to any role groups. Use the New-Mailbo圎xportRequest cmdlet to begin the process of exporting contents of a primary mailbox or archive to a. This cmdlet is available only in on-premises Exchange.