somoteitbe
asked on
Exchange 2007 command shell "move-mailbox" parameters
I am using Exchange 2007 command shell for the first time because I need to circumvent a "baditemlimit" issue with moving a few mailboxes from the GUI. Command shell rocks when it comes to granular Exchange needs; I just have two questions:
1. What is the metric used for <RetryInterval> and <RetryTimeout>? (I'm assuming seconds)
2. Is there a parameter I can use for setting a delay for the move? (i.e: I want to move it, but not until later tonight when the user is out of the mailbox)
I have been looking through Technet and other forums with no luck . Heres the most useful URL I've found (which is basically 'get-help -full')
http://technet.microsoft.com/en-us/library/aa997599.aspx
Here's the code I'm attempting assuming seconds for timeout metric and allowing for up to 1000 bad items to skip:
Move-Mailbox -Identity 'user@company.com' -TargetDatabase 'server\storage_group\data base' [-BadItemLimit 1000] [-DomainController 'domain_controller'] [-GlobalCatalog 'gc_server'] [-RetryTimeout 28800] [-RetryInterval 30]
Now, Im just missing a parameter for delaying it until evening hours so I can have the move occur while I'm at my son's t-ball game. :)
Some help?
1. What is the metric used for <RetryInterval> and <RetryTimeout>? (I'm assuming seconds)
2. Is there a parameter I can use for setting a delay for the move? (i.e: I want to move it, but not until later tonight when the user is out of the mailbox)
I have been looking through Technet and other forums with no luck . Heres the most useful URL I've found (which is basically 'get-help -full')
http://technet.microsoft.com/en-us/library/aa997599.aspx
Here's the code I'm attempting assuming seconds for timeout metric and allowing for up to 1000 bad items to skip:
Move-Mailbox -Identity 'user@company.com' -TargetDatabase 'server\storage_group\data
Now, Im just missing a parameter for delaying it until evening hours so I can have the move occur while I'm at my son's t-ball game. :)
Some help?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'm on it. Thanks alvin.
ASKER
Good call on the scripting and scheduled task. This will work nicely. As far as the Retrytimeout and RetryInterval parameters, I went with the defaults and left these options out. Thanks for the guidance.
ASKER
Thanks alvin; the scripting idea will work nicely. The RetryTimeout and RetryInterval metrics: I left them to default. It looks like I was messing with stuff that was unecessary, but after further research as you suggested - looks like you are right. good call(s).
ASKER