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
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
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
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
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
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
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