Get-MailboxDatabase -Server shsmbx02 | foreach ` {` Move-ActiveMailboxDatabase -Identity $_.Name -ActivateOnServer targetServer -Confirm:$false ` }