Hi All,
I am using Primal form to monitor my mailbox moves and have the following script
$outputbox.text = get-moverequest| get-moverequeststatistics |Sort-Object PercentComplete -Descending | ft displayname, @{label=" % "; expression="percentcomplete"},@{l="Size";e={$_.Totalmailboxsize.ToString().SubString(0,($_.totalmailboxsize.ToString().IndexOf("MB")))}} ,@{l="Moved";e={$_.BytesTransferred.ToString().SubString(0,($_.BytesTransferred.ToString().IndexOf("MB")))}},@{l="Rate";e={$_.BytesTransferredPerMinute.ToString().SubString(0,($_.BytesTransferredPerMinute.ToString().IndexOf("MB")))}} ,statusdetail -AutoSize| Out-String
I would like to add another column that gives me an estimated remaining time for the move. I can do the maths easily enough but don't know how to write it as a simple script that could be added as an extra column in the form
Any ideas?
TIA
Andy