PowerShell to move email addresses from one mailbox to another (Exchange 2007)
by David Mellors • August 20, 2012 • 0 Comments
PowerShell snippet to take a set of email addresses from one Mailbox and set them on another. $faxAddresses = Get-Mailbox "MailBox 1" | Select-Object -ExpandProperty EmailAddresses | Where-Object {$_.PrefixString -eq 'smtp' -AND $_.SmtpAddress -like '*fax*'} Get-Mailbox "MailBox 1" | Update-List -Property EmailAddresses -Remove $faxaddresses | Set-Mailbox Get-Mailbox "MailBox 2" | Update-List -Property EmailAddresses -Add $faxaddresses |...
Read more →