Time remaining for a mailbox move

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

This will give you an idea of how this kind of scripting works.  You copied things wrong and have not understood computer fields.
$outputbox.text = get-moverequest|
get-moverequeststatistics |
Sort-Object PercentComplete -Descending |
Format-Table displayname,
@{L=' % '; E={ $_.percentcomplete }},
@{L='Size(Gb)'; E={ $_.Totalmailboxsize.Value.ToGb().ToString('N2') }},
@{L='Moved(Gb)'; E={ $_.BytesTransferred.Value.ToGb().ToString('N2') }},
@{L='Rate(Gb)'; E={ $_.BytesTransferredPerMinute.Value.ToGb().ToString('N2') }},
StatusDetail -AutoSize |
Out-String
Study how to do "computed/calculated properties".  Also look up how to use exchange large integer values.
http://msdn.microsoft.com/en-us/library/microsoft.exchange.data.bytequantifiedsize.aspx
http://technet.microsoft.com/en-us/library/ff730948.aspx
¯\_(ツ)_/¯

Similar Messages

  • Time remaining for a query

    Hi,
    I want to find the estimated time remaining for the SQL that is running, when I try to query from v$sesion_longops, it is not returning anything even though i see the session running in v$session. Why am not getting any output from v$session_longops? Is there any way i can find how much time remaining and how much work done?
    Thanks,
    GK

    Yeahh this is the third a little different question about the same topic. So even if the operation is in v$session_longops, you can use the time remaining as a rough guideline because:
    1) Oracle thinks that long operations are linear and calculates remaining time accordingly
    2) it may not be the only long operatin for this particular query i.e. there may other remaining time that might be or might not be shown up there.
    I'm even a bit tired of copying link to my article describing all this :)
    http://www.gplivna.eu/papers/v$session_longops.htm
    Gints Plivna
    http://www.gplivna.eu

  • SRM error 'process time remaining' for Rfx

    The simultaneous opening of the  RFxs were performed. But it was not possible to open the offers as the system was showing ' process time remaining'. At that time the times remaining for the 3 RFxs  was shown around 4 hours 30 minutes. The offers were tried to open next day. Again the system was showing ' process time remaining', but the time remaining for the 3 RFxs are shown about 2 hours .Please suggest .

    Hi Srvinivas,
    The following documents may be of some help to you:
    http://help.sap.com/saphelp_srm701/helpdata/en/38/37aa392d61407089454548b98355a8/content.htm
    SRM, Strategic Sourcing Innovations
    http://help.sap.com/saphelp_srm701/helpdata/en/1f/4b5f5130eb4c7db21f03fa94e5bb3f/content.htm
    Tender Fee Processing
    http://help.sap.com/saphelp_srm702/helpdata/EN/73/bf0af1223b405d8380cd2dfc9e5fd3/content.htm
    Earnest Money Deposit Processing
    http://help.sap.com/saphelp_srm702/helpdata/EN/ef/fab812e046468396262858d447d8aa/content.htm
    Simultaneous Logon at RFx Response Opening
    http://help.sap.com/saphelp_srm702/helpdata/EN/38/37aa392d61407089454548b98355a8/content.htm
    Also as far as I am aware, by default, simultaneous logon is only available for RFXs with two-envelope RFX responses. The following is a detailed explanation of the process from 1 of my colleagues:
    Two-Envelope response opening process:
    01. Buyer creates a RFx/Bid invitation with the transaction type that
        is configured for two envelope bidding.
    02. Enter the mandatory datas: submission deadline, bidders, items,
        permissions for technical/price/tender fee opening, etc
    03. Publish RFx.
    04. Login with bidder and "Participate" to receive emails.
    05. If tender fee is requested, then pay tender fee with bidder user.
    06. Create a Response with bidder user and submit.
    07. Now you have to wait till the submission deadline has been passed
        to give the chance for the other bidders to participate in the RFx
        process.
    08. After the submission deadline has been passed the buyer has to
        "Initiate Price/Technical RFx Response Opening" for a certain given
        time (which can be set earlier.)
    09. A new window will pop up to start the simultaneous logon.
    10. Provide password and hit the approve button.
    11. The pop up window will display Technical Opener's name.
        We can see the time remaining to perform the Technical opening
    12. In the next step, we will have to login to perform the technical
        opening. Do NOT close this window or do NOT logoff from the portal.
        If you think you will require more time to perform the technical
        opening you can extend this time. This will give additional minutes
        to perform the opening.
    13. To perform technical opening:
        Login to WTS or open a new session of Internet Explorer and login
        to Portal. At this point in time, you will have two sessions:
        - one on your local computer
        - and one in WTS/New session
    14. Open the rfx and click on Open technical rfx response.
    15. The Technical Opener/Reviewer now authenticates himself/herself by
        entering the password. After it hit "Approve" button.
    16. In the next step you will receive a message:
        "User approval successful"
    17. The Simultaneous Logon and opening of technical/price RFx response
        is now performed.
    18. Hit on Close button to close the pop up.
    19. Hit on Close to close the RFx screen.
    20. You have to wait till the Response opening time has been passed.
    21. After the time has been passed the Response can be opened.
    If the document changes in the meantime and if it needs approval (no
    automatic approval is configured) then you have approve the documents
    in the process with a given user.
    I hope that this helps.
    Kind regards,
    Conor

  • HT1222 Have a new iPad trying to download iOS 6.0.1 but it seems to have stopped. Has been going on saying estimating time remaining for the last 5 hours!!

    Have a new iPad trying to download iOS 6.0.1 but it seems to have stopped. Has been going on saying estimating time remaining for the last 5 hours!!

    Try a reset:
    Hold the Sleep and Home button down for about 10 second until you see the Apple logo.

  • Time remaining problem

    I've tried using Compressor twice in the space of an hour, when my jobs get to about three quarters the way through the time remaining bar doesn't move any more and the job is at a stand still.

    Maybe its just me that needs a little more clarification but are you trying to take VIDEO podcasts and put them onto your player without any conversion? first I don't know how you are doing it because every video i have tried NEEDS conversion because they are usually the wrong size bitrate etc... are you putting these onto your memory card or right onto your player. now to my side.. i have podcasts well over 8 hours and my countdown works fine.. I am also in process of converting 300 the movie onto here and it needs a conversion ( im kinda lying im converting it just to make sure but didnt try to add it before doing so) anyway I think its a slight problem with your player... . if you didnt upgrade your firmware try it( i hate saying these things because these usually NEVER solve the problem)2.try searching the forums for a common problem or check your other mp3, videos to see if it does the same thing3. try converting one file. for instance the one that is suppose to be 90mins and see if it shows correct countdown4. transferring a regular mp3 podcast not video should show the correct time because it really doesnt need conversion unless you are not using zencast5. i havent done any long video podcasts just movies so im not quite sure that may be a small limitation..
    anyway take care hope i helped a little...(most of the ideas were just my common sense) hehe

  • Restoring iphone from backup estimating time remaining stuck

    I have been updating my boyfriend's iphone.  It has not been updated for a while.  I backed up everything on itunes.  I then went to restore (the first time) and within 10-15 minutes it said there was 1 hour left, 2 hour left, 3 hours left.  I did something else for about 20/30 minutes, came back to my computer and it was asleep and everything had ended.  It did not finish.
    I have now tried to restore a couple times and cannot get past the estimated time remaining.....  What do I do?  It's been "estimating time" for about a half hour.
    Please help.  Beyond frustrated.

    Just got an Iphone 5, trying to restore it from my Iphone 4 backup. I just shows estimating time remaining for the past hour and a half. Might just leave it up and hopefully something will happen.

  • Calculate the time remaining during File Download ?

    Hi
    I need to calculate the time remaining of file download . I am using NSURLConnection for file download in Cocoa . I am able to show the download progressbar . I want to show the time remaining for complete download and it should vary if network signal fluctuate .
    Please guide me ...
    Thanks

    The tricky part is to define what is a disturbance
    First do once  a correlation to find and correct a shift in the signal
    Look at the (absolute or squared) difference of both signals and define a threswhold and use the threshold detector vi
    from the point location(s) calculate the time and log it.
    And have a look at the waveform monitoring vis....
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Time machine goes on calculating time remaining in macbook mavericks

    time machine stops at some point while backingup my macbook;it goes on calculating the time remaining for hours;i tried all possible things like renaming,erasing ,repairing permission  the external HD
    please help

    jaxx323 wrote:
    The time capsule drive is full, but I just assumed that Time Machine would erase the oldest backups and continue.
    Ordinarily it will. Do you have other data on the drive? If so, it appears that other data has completely filled the drive, so much so that Time Machine can't even start the hidden log it keeps there.
    Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: No space left on device
    Usually when that happens, the backup crashes.
    First, cancel the backup. If it won't cancel after a few moments, see #D6 in [Time Machine - Troubleshooting|http://web.me.com/pondini/Time_Machine/Troubleshooting.html].
    Then connect via an Ethernet cable if at all possible. Time Machine needs to do some intensive work, and it will be slow even via Ethernet, but 2-3 times slower via WIFI.
    If there's other stuff on the drive, you could copy some of it elsewhere temporary and delete it. You only need to free up 50 MB or so.
    But your best bet is to delete your oldest backup(s), then "compact" the sparse bundle they're in, to make some space. See #12 of [Time Machine - Frequently Asked Questions|http://web.me.com/pondini/Time_Machine/FAQ.html].
    Since it's been several weeks, you may want to delete roughly one old backup for each of those weeks, then "compact" the sparse bundle. If you only delete one, then Time Machine will have to delete more, but it will delete one, dismount the sparse bundle, compact it, then remount it to see if there's enough room. That gets repeated over and over until there's enough space.
    Once this is sorted out, if there is other stuff on your TC's internal HD, see #Q3 in [Using Time Machine with a Time Capsule|http://web.me.com/pondini/TimeMachine/TimeCapsule.html] (or use the link in *User Tips* at the top of this forum).

  • In mail, after importing mailboxes the process gets stuck on '1619 of 72826' and 'time remaining' climbs infinitely. Please suggest a solution.

    In 'mail', after importing mailboxes the process gets stuck on '1619 of 72826' and 'time remaining' climbs infinitely. Please suggest a solution.
    I converted my mail boxes from POP to imap for the purpose of syncing all my devices. I backed up my mail boxes and further more perfomed a timemachine backup.
    Upon restoring ther mailboxes, either by manually copying them to the mailboxes folder, and restoring a timemachine backup, both pocesses result in the above problem.
    Please recomend a solution.
    file://localhost/Users/redwood/Desktop/Screen%20Shot%202013-10-15%20at%201.48.10 %20PM.png
    file://localhost/Users/redwood/Desktop/Screen%20Shot%202013-10-15%20at%201.38.30 %20PM.png

    Can anyone out there please help!

  • HT1338 My MacBook Air is very slow. Every time I click the mouse, the spinning wheel appears and remains for up to 30 seconds. Can you help me?

    My MacBook Air is very slow. Every time I click the mouse, the spinning wheel appears and remains for up to 30 seconds before the screen changes. This has been happening the past 24 hours. Any ideas?

    First, back up all data immediately, as your boot drive may be failing.
    If you have more than ten or so files or folders on your Desktop, move them, temporarily at least, somewhere else in your home folder.
    If iCloud is enabled, disable it.
    Disconnect all wired peripherals except keyboard, mouse, and monitor, if applicable. Launch the usual set of applications you use when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Activity Monitor in the page that opens.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Step 2
    You must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way as above. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Post the 50 or so most recent messages in the log — the text, please, not a screenshot.
    Important: Some personal information, such as your name, may appear in the log. Edit it out before posting.

  • Movie time remaining

    I have added a song at the beginning of the movie and one at the end.  I am trying to figure out the time remaining to better match the song lengths to the remaining movie length.  Is this possible?  In iMovie HD there was a handy time line below the film strip so you knew where you were at in the overall movie timeline.  Is there a similar feature in iMovie 09?  TIA.
    Mike

    In iMovie's menu, click on View then select Playhead Info. A black box with white text will appear above the playhead showing the day, date and time recorded plus the elapsed time. At the base of the project window you will also see the total running time for the project.
    John

  • I created an iCloud account and also had to get more space after I have done the purchase, I am unable to backup my phone! I have a stable wifi connection at home and all I see for hours and hours is "Backing Up .. Estimating time remaining"!!!!! Plz help

    I created an iCloud account and also had to get more space so after I have made the purchase, I am unable to backup my phone! I have a stable wifi connection at home and all I see for hours and hours is "Backing Up .. Estimating time remaining"!!!!! Plz help I'm unable to make the backup as I need to transfer all my data on my new iPhone 5S

    This may be caused by a corrupt existing backup that needs to be deleted, or by data on your device that is causing the backup to fail.  To troubleshoot these, try deleting your last iCloud backup (if you have one) by turning off iCloud Backup in Settings>iCloud>Storage & Backup, then tap Manage Storage, tap your device under Backups, then tap Delete Backup.  Then go back and turn iCloud Backup back on and try backing up again.
    If it still won't back up, you may have an app or something in your camera roll that is causing the backup to fail.  To locate which one, go to Settings>iCloud>Storage & Backup>Manage Storage, tap the name of your device under Backups, under Backup Options tap Show All Apps, then turn them all to Off (including camera roll) and try backing up again.  If the backup is successful, then the camera roll and/or one of your apps is causing the backup to fail and you'll have to located by process of elimination. Turn the camera roll On and try backing up again.  If it succeeds, turn some of your apps to On and try backing up again.  If it succeeds again, turn some more apps to On then try again; repeat this process until it fails.  Eventually you'll be able to locate the problem app and exclude it from your backup.
    In the meantime you can back up your phone to your computer by connect it, opening iTunes and going to File>Devices>Back Up.  Also be sure to transfer your purchases (File>Devices>Transfer Purchases).  Then set up your new phone and when given the option, choose Restore from iTunes Backup and follow the prompts to restore this backup to your new phone.  This will be much faster than using iCloud anyway.

  • I have AVI files that I need to be MOV files so that I can edit them in Final Cut Pro. I am going to use Quick Time Pro for this....do I have to 'export' it or can I just 'save as', or is there even a difference? Thanks in advance for your help!

    I have AVI files that I need to convert to MOV files so that I can edit them in Final Cut Pro. I am going to use Quick Time Pro for this....When I have the files open in QT Pro do I have to 'export' it or can I just 'save as', or is there even a difference? Thanks in advance for your help!

    I strongly recommend you use compressor to do the conversion (if it will open the files - since quicktime will open them, it will more than likely do it.
    Compressor allows you to customize presets and save them and apply them to multiple files.  Although the interface may seem daunting, it's actually pretty simple.
    Even if you can edit the avi in fcp, it's not a good idea.  Liable to cause problems down the road. 

  • I am getting error (-1) while updating my iPhone 4 to iOS 5.1. The phone has gone into a recovery mode. Restore fails every time at "restoring the firmware" stage. Striped bar remains for a long time, then shows "error (-1)" and the restore fails. Help!

    I am getting error (-1) while updating my iPhone 4 to iOS 5.1. The phone has gone into a recovery mode. Restore fails every time at "restoring the firmware" stage. Striped bar remains for a long time, then shows "error (-1)" and the restore fails. I have been doing it for last 12 hours. Help!

    Thanks for your reply Michalo. I am in India and here Apple care does not work on Sundays. I have been without my phone for the entire day. Perhaps tomorrow will bring some respite. There is not solution to "error (-1)" on any forum it seems. I found one forum which suggested use of Tiny Umbrella. Any idea about that?

  • HT3702 i was charged 3 times for the same movie how do i get my refund

    i was charged 3 times for the same movie.

    You can try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via the Store > View Account menu option and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that film and use the 'Report a Problem' link and fill in details about the problem (iTunes support should reply within, I think, about 24 hours).
    Or (and if the 'report a problem' link doesn't work) then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page.

Maybe you are looking for

  • Zreports for vendor wise Delivery schedule release

    hi , Can some one help me with codes for  the reports for the Delivery Schedule Release vendor wise. which shows vendor details , on titles, Schedule agreement Nos and then the material listed with the qty and targetted date. Kindly help regards Kim

  • CS5 Premiere, After Effects, and Encore hang on splash screen - Solution

    I just installed Production Premium CS5 on a Windows 7 64 bit system. The install went without a hitch, but when I attempted to start Premiere, After Effects or Encore, they would all hang at some place with the splash screen showing. I spent 2 hours

  • Can't print on HP4M with Macbook Pro using Snow Leopard

    Hello Everyone, I've tried everything I know...which isn't much...to avoid having to request your help knowing that many people have had similar problems. However, I still can't get my Mac to print with the HP4M printer regardless of what I have trie

  • How to tranfer IDOC and BAPI through LSMW

    Hi friends, I need documents regarding processing of IDOC and BAPi through LSMW, Thanks In advance, Regards, charan

  • Changing ipod and itunes accounts

    Hello all, My son has an IPod 5 that is linked to my ITunes account.  I have only ever had one ITunes account and that worked great for a while.  Now that he is getting older he wanted to be able to text and Face time with his friends and every time