How do I move a mailbox using PowerShell with Exchange 2007?
John Savill
May 31, 2007
1 Min Read
A. The cmdlet to use to move a mailbox is Move-Mailbox with -TargetDatabase parameters. You can use simple syntax for the database; for example, serverstorage groupdatabase:
Move-Mailbox -TargetDatabase "dalsxc02first storage groupmailbox database" savilltechtimmy
You can find more information about syntax at http://technet.microsoft.com/en-us/library/aa997961.aspx. However, the easiest way to move a mailbox is with the Exchange Management Console, and once the move is complete the system will show you the PowerShell command that was used. (You can use Ctrl+C to copy the command for other mailbox names.)
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like