How do I move a mailbox using PowerShell with Exchange 2007?

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, server\storage group\database:

Move-Mailbox -TargetDatabase "dalsxc02\first storage group\mailbox database" savilltech\timmy

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.)

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish