As expected, that worked like a charm!
Thanks Michael and Rob!
From: Michael B. Smith [mailto:mich...@smithcons.com]
Sent: Wednesday, August 03, 2011 4:35 PM
To: MS-Exchange Admin Issues
Subject: RE: Powershell to remove old email addresses
If performance isn't important, I would probably do
Not tested, but I think this should work:
Get-mailbox -organizationalunit whateverOU |%(get
all of the mailboxes from this OU)
{
$a = $_.emailaddresses
$b = $_.emailaddresses
http://TheEssentialExchange.com
From: Campbell, Rob [mailto:rob_campb...@centraltechnology.net]
Sent: Wednesday, August 03, 2011 4:09 PM
To: MS-Exchange Admin Issues
Subject: RE: Powershell to remove old email addresses
Not tested, but I think this should work:
Get-mailbox -organizationalunit