locked
Move Exchange mailboxes between servers with move-mailbox RRS feed

  • Question

  • I use move-mailbox powershell cmdlet to move mailboxes between exchange servers. the question is; is there anyway l can cancel the move before 5:30 am if it is still running, before the users come in?

    I have exchange 2007  environment, 

    Thursday, June 2, 2011 9:47 PM

Answers

All replies

  • Hi Kojo, I would suggest to plan your mailbox move in a way where the move finishes within timeline, like moving mailboxes with smallwer size, moving few mailboxes with larger size and so on over project time to avoid downtime if you are running the wizard you can just click on cancel. there really is no easy way of doing what you want to do with move-mailbox with version of exchange you are running
    Dhruv
    Saturday, June 4, 2011 8:54 AM
  • Hi,

     

    Based on my research, there is no specific settings to stop mailbox moving procedure via move-mailbox command. Instead, if you use EMC to move mailbox instead of the command, you can select “Cancel tasks that are still running after (hours)” option.

     

    For more information, please refer to the following article:

     

    http://www.msexchange.org/articles_tutorials/exchange-server-2007/management-administration/moving-mailboxes-exchange-2007-part1.html

     

    Thanks.

    Novak


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Monday, June 6, 2011 2:54 AM
  • the move process has been planned carefully but l still want a way to cancel if thing go south, rather safe than sorry.

     

    I move only mailboxes of under 2GB of size, of which the bigger ones get moved first. am doing 10 threads.

     

     

    Tuesday, June 7, 2011 3:43 PM
  • So, it’s recommended to use EMC and select the "Cancel tasks that are still running after (hours)" option instead of using the command Move-Mailbox.

     

    Thanks.

    Novak


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Wednesday, June 8, 2011 1:27 AM
  • EMC is not an option for me, l will find a way to do that. using EMC to manage this will take lot of man hours. considering moving averagely 20 mailboxes from different server to different servers every day plus finding out who moved so you can move the mailboxes as needed.

     

    Thanks

     

     


    Alert from TechNet Posting
    Wednesday, June 8, 2011 1:58 PM
  • Alternatively, you can write a script to run Move-Mailbox command and put the script in Task Schedule. Then, configure certain period to move mailbox and force to stop it when the end time is arrived.

     

    For more information to write a script, please refer to the following articles:

     

    http://blogs.msdn.com/b/adamfazio/archive/2007/10/27/hey-exchange-2007-move-the-mailboxes-email-me-the-log-when-you-re-done.aspx

     

    http://drothism.com/?p=277

     

    http://myitforum.com/cs2/blogs/yli628/archive/2008/08/06/powershell-script-to-schedule-a-task-task-scheduler-api.aspx

     

    Thanks.

    Novak


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    • Marked as answer by Novak Wu Monday, June 13, 2011 1:34 AM
    Thursday, June 9, 2011 8:50 AM