Solved

change addresses in powershell

Posted on 2014-04-24
3
256 Views
Last Modified: 2014-05-02
i need to change the addresses for all users according to location. in ADUC, i click on the properties of a user. in the address tab. in the box for STREET, i need add the building and street address. how can i do it in power shell that will add the value i need to the "STREET" box. all these users are in an OU called "MIA - Users"
0
Comment
Question by:ttrbrtsn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
Biniek earned 500 total points
ID: 40020482
0
 

Author Comment

by:ttrbrtsn
ID: 40020502
thanks for the reference. however, I better at examples than reading a bunch of stuff.

I have an ou = "mia-users"
street = "123 main st"

I want the street to read:

"century Towers
123 Main st."
0
 
LVL 6

Expert Comment

by:Biniek
ID: 40020635
Get-ADUser -SearchBase 'ou=mia-users,dc=Yourdomain,dc=local' -Filter * |

Set-ADUser -StreetAddress "century Towers 123 Main st."
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

739 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