How to move all disconnected mailboxes from one mailbox to another at once on exchange 2007 SP3
I just want to move all disconnected mailboxes from one mailbox to another at once on exchange 2007 SP3. Someone can help m
July 23rd, 2015 4:58am

Create a CSV like below

Mailbox         ADUser          Database
Mike Witts     Mike Witts     Database1
John Smith    John Smith     Database2

Then use this

$DisMailBoxes = Import-csv "c:\filename.csv"
ForEach ($M in $DisMailboxes) {
$M.Mailbox
$M.ADUser
$M.Database
Connect-Mailbox -Identity $M.Mailbox -Database $M.Database -User $M.ADUser
}

 
Free Windows Admin Tool Kit Click here and download it now
July 23rd, 2015 6:15am

Hi Alice,

Get-Mailbox  | where {$_.DisconnectDate -ne $Null} | Move-Mailbox -TargetDatabase "Target Server\First Storage Group\Mailbox Database name"

July 23rd, 2015 6:36am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics