RE: Powershell to remove old email addresses

2011-08-04 Thread Kelsey, John
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

RE: Powershell to remove old email addresses

2011-08-03 Thread Campbell, Rob
Not tested, but I think this should work: Get-mailbox -organizationalunit whateverOU |%(get all of the mailboxes from this OU) { $a = $_.emailaddresses $b = $_.emailaddresses

RE: Powershell to remove old email addresses

2011-08-03 Thread Michael B. Smith
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