New Move Mailbox Request operation
The New Move Mailbox Request process imports a .pst file to a mailbox or archive.
The adapter request parameters may differ according to the Microsoft Exchange Server version.
For the list of all supported parameters, refer to the New-MoveRequest cmdlet in the Microsoft Exchange documentation specific to your version.
The following figure shows a sample adapter request for the New Move Mailbox Request operation on the Microsoft Exchange version 2019:
<microsoft-exchange-request>
<command>
<command-name>New-MoveRequest</command-name>
<format-option />
<verbose-logging />
<parameters>
<parameter>
<name>Identity</name>
<value>allen</value>
</parameter>
<parameter>
<name>TargetDatabase</name>
<value>database1</value>
</parameter>
</parameters>
</command>
</microsoft-exchange-request>
<command>
<command-name>New-MoveRequest</command-name>
<format-option />
<verbose-logging />
<parameters>
<parameter>
<name>Identity</name>
<value>allen</value>
</parameter>
<parameter>
<name>TargetDatabase</name>
<value>database1</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-MoveRequest -Identity:allen -TargetDatabase:database1 -confirm:$false</command>
<line-count>9</line-count>
<execution-milliseconds>49886</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-MoveRequest -Identity:allen -TargetDatabase:database1 -confirm:$false "</line>
<line index="4">Stdout:</line>
<line index="5">DisplayName StatusDetail TotalMailbo TotalArchiv PercentComplete </line>
<line index="6"> xSize eSize </line>
<line index="7">----------- ------------ ----------- ----------- --------------- </line>
<line index="8">allen Queued 0 B (0 b... 0 </line>
<line index="9">Remote application exited with code: 0</line>
</output>
</command-output>
</commands-output>
</target-output>
</targets-output>
</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-MoveRequest -Identity:allen -TargetDatabase:database1 -confirm:$false</command>
<line-count>9</line-count>
<execution-milliseconds>49886</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-MoveRequest -Identity:allen -TargetDatabase:database1 -confirm:$false "</line>
<line index="4">Stdout:</line>
<line index="5">DisplayName StatusDetail TotalMailbo TotalArchiv PercentComplete </line>
<line index="6"> xSize eSize </line>
<line index="7">----------- ------------ ----------- ----------- --------------- </line>
<line index="8">allen Queued 0 B (0 b... 0 </line>
<line index="9">Remote application exited with code: 0</line>
</output>
</command-output>
</commands-output>
</target-output>
</targets-output>
</microsoft-exchange-response>
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*