RM for Exchange Powershell commands


I'm running the following command

$store | Get-RMEMailbox ($sDisplayName) | Restore-RMEMailbox -NamePrefix $sEmailAddress -TargetPath $path -pstSizelimit 2000 -verbose -SkipErrors 2>&1 >>   $errorlog


As the mailbox is finished being exported to PST(s)  there is an output of how many messages and how many duplicates and errors.  I want to be able to capture these values in variables in my powershell script. 


How can I do that?