This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RM for Exchange Powershell commands

Hi,

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?