Solved

Update Everyone's Address in AD or GAL

Posted on 2014-10-06
3
152 Views
Last Modified: 2014-10-06
Hi Experts,

We just moved, and hence, address got changed.  Is there a way I can update everyone address at once in AD or from Exchange/GAL?  Thanks.
0
Comment
Question by:swgit
3 Comments
 
LVL 16

Expert Comment

by:Joshua Grantom
ID: 40364386
$users = Get-ADUser -filter *
foreach $user in $users) {
Set-ADUser $user -StreetAddress "12345 Testing St" -City "TestCity" -State "OK" -PostalCode "000000"
0
 
LVL 1

Accepted Solution

by:
Corvin McLean earned 500 total points
ID: 40364392
This should be used if you need to update multiple users at the same time with the same information.

Instead of going to every users profile and adding your companies address, you can add it to all users at the same time. There are many reasons to update AD user accounts at the same time listed below that can help save you a lot of time.

1.      
Go to your Active Directory Users and Computers Management Console
2.      
Sort your list by Type so that you can have all User accounts at the Top
3.      
You can use Ctrl Click to select a few users or you can select the top user then Shift Click on the bottom user to select all or a range of users
4.      
Right click on the highlighted area and select Properties
5.      
From here you can do multiple things
5a. On the General tab you can set a phone number, office, webpage, etc. for all the selected users

5b. On the Account tab you can control things like force password to expire, force user to change password, disable all selected accounts, etc.

5c. On the Address tab you can set the address for all of the selected users

5d. On the profile tab you can set a default profile path or if you have a logon .bat file you can set that in the logon script

5e. Organization, here you can set the Department, company if you have multiple companies, etc.
0
 
LVL 1

Author Closing Comment

by:swgit
ID: 40364424
Thank you, Corvin.  This is awesome!

@Joshua -- Thank you!
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Multiple SSL on Exchange 2010 3 23
Exchange 2013 Management Shell remove automapping permissions 2 35
Admin account lockout 10 36
EXCHANGE, ACTIVE DIRECTORY 1 30
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

775 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