New Mailbox Import Request operation

The New Mailbox Import Request process imports mailbox data from a .pst file to a mailbox.

Notes

  • The New Mailbox Export Request operation supports Microsoft Exchange versions 2010 SP1, 2013, and 2016.
  • This operation can only be performed using 32-bit Exchange Management tools and Microsoft Outlook 2003 SP2 or later. 
  • This operation is not directly supported on a 64-bit Microsoft Exchange server.
  • To run this operation, the AOUser should have access to the mailbox, which can also be provided using the following cmdlet:
    Add-MailboxPermission -Identity ExportMailbox -AccessRights FULLACCESS -User AOUser  

The adapter request parameters may differ according to the Microsoft Exchange Server version.

For the list of all supported parameters, refer to the New-MailboxImportRequest cmdlet in the Microsoft Exchange documentation specific to your version.

The following figure shows a sample adapter request for the New Mailbox Import Request operation on Microsoft Exchange version 2016:

<microsoft-exchange-request>
    <command>
      <command-name>New-MailboxImportRequest</command-name>
      <format-option/>
      <verbose-logging/>
      <parameters>
        <parameter>
          <name>FilePath</name>
          <value>\\CLM-PUN-020413\allen\MyMailbox.pst</value>
        </parameter>
        <parameter>
          <name>Mailbox</name>
          <value>allen</value>
        </parameter>
      </parameters>
    </command>
  </microsoft-exchange-request>


The following figure shows the response for the adapter request:

<microsoft-exchange-response>
  <metadata>
    <status>success</status>
  </metadata>
  <targets-output>
    <target-output host="clm-pun-020413.bmc.com">
      <metadata>
        <os-id>Windows Server 2008</os-id>
        <os-version>6.3.9600</os-version>
        <status>success</status>
      </metadata>
      <commands-output>
        <command-output>
          <metadata>
            <command>New-MailboxImportRequest -FilePath:'\\CLM-PUN-020413\allen\MyMailbox.pst' -Mailbox:jai -confirm:$false</command>
            <line-count>8</line-count>
            <execution-milliseconds>64851</execution-milliseconds>
            <exit-code>0</exit-code>
            <status>success</status>
          </metadata>
          <output>
            <line index="1">Attempting to connect to remote host...</line>
            <line index="2">Initialising rctrlx server component...</line>
            <line index="3">Executing remote application: cmd /c "echo . | powershell -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\V15\Bin\exshell.psc1" -NonInteractive -Command New-MailboxImportRequest -FilePath:'\\CLM-PUN-020413\allen\MyMailbox.pst' -Mailbox:jai -confirm:$false "</line>
            <line index="4">Stdout:</line>
            <line index="5">Name                       Mailbox                    Status                   </line>
            <line index="6">----                       -------                    ------                   </line>
            <line index="7">MailboxImport1             020413.dc/Users/jai        Queued                   </line>
            <line index="8">Remote application exited with code: 0</line>
          </output>
        </command-output>
      </commands-output>
    </target-output>
  </targets-output>
</microsoft-exchange-response>
Was this page helpful? Yes No Submitting... Thank you

Comments