Solved

Change Alias in Exchange 2007 to match Username

Posted on 2011-09-07
2
401 Views
Last Modified: 2012-05-12
I need a script or something to change the alias in Exchange 2007 to match the username of serveral different users on serveral different exchange server. Some of the users are already setup this way and others are not.
0
Comment
Question by:vhaperbaugub
2 Comments
 
LVL 49

Accepted Solution

by:
Akhater earned 500 total points
ID: 36498897


$mbxs = get-mailbox -resultsize unlimited (for all exchange users)
$mbxs = get-mailbox -OrganizationalUnit domain.local/users  (for all users in a specific OU)
$mbxs = get-mailbox -Server servername (for all users in a specific server)

then



$mbxs | % { set-mailbox $_.DistinguishedName -Alias $_.SamAccountName}
0
 

Author Comment

by:vhaperbaugub
ID: 36502637
The script did the trick....Thanks
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now