Mass-Removing Alias Addresses

2009-06-12 Thread John Hornbuckle
We're an Exchange 2007 shop, and a number of our users have aliases that are no longer needed. For a time, we needed mail addressed to either u...@taylor.k12.fl.us or u...@exchange.taylor.k12.fl.us to go to the user. But that transition period is over, and we no longer need the

RE: Mass-Removing Alias Addresses

2009-06-12 Thread Campbell, Rob
Powershell can do that. -Original Message- From: John Hornbuckle [mailto:john.hornbuc...@taylor.k12.fl.us] Sent: Friday, June 12, 2009 9:17 AM To: MS-Exchange Admin Issues Subject: Mass-Removing Alias Addresses We're an Exchange 2007 shop, and a number of our users have aliases

RE: Mass-Removing Alias Addresses

2009-06-12 Thread John Hornbuckle
I thought it might. My PS skills are weak, though... -Original Message- From: Campbell, Rob [mailto:rob_campb...@centraltechnology.net] Sent: Friday, June 12, 2009 10:25 AM To: MS-Exchange Admin Issues Subject: RE: Mass-Removing Alias Addresses Powershell can do

Re: Mass-Removing Alias Addresses

2009-06-12 Thread James Rankin
To: MS-Exchange Admin Issues Subject: RE: Mass-Removing Alias Addresses Powershell can do that. -Original Message- From: John Hornbuckle [mailto:john.hornbuc...@taylor.k12.fl.us] Sent: Friday, June 12, 2009 9:17 AM To: MS-Exchange Admin Issues Subject: Mass-Removing Alias Addresses

RE: Mass-Removing Alias Addresses

2009-06-12 Thread John Hornbuckle
I'll just wait until you've got it ironed out... ;-) -Original Message- From: Campbell, Rob [mailto:rob_campb...@centraltechnology.net] Sent: Friday, June 12, 2009 10:51 AM To: MS-Exchange Admin Issues Subject: RE: Mass-Removing Alias Addresses I need another cup of coffee. To do

RE: Mass-Removing Alias Addresses

2009-06-12 Thread Campbell, Rob
That should be it. If you run into any problems with it, contact me off-list. -Original Message- From: John Hornbuckle [mailto:john.hornbuc...@taylor.k12.fl.us] Sent: Friday, June 12, 2009 9:53 AM To: MS-Exchange Admin Issues Subject: RE: Mass-Removing Alias Addresses I'll just wait

Re: Mass-Removing Alias Addresses

2009-06-12 Thread Eric Woodford
9:45 AM To: MS-Exchange Admin Issues Subject: RE: Mass-Removing Alias Addresses Correction: Get-mailbox |% { $addrs = $_.emailaddresses |? {$_.smtpaddress -notlike *@ exchange.taylor.k12.fl.us} Set-mailbox $_ -emailaddresses $addrs } To do one mailbox: $mbx = Get-mailbox $addrs