Solved

change addresses in powershell

Posted on 2014-04-24
3
254 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
2010>2016 PF Migration completion issue 2 26
mount point report 5 12
powershell invoke-command error 5 21
Exchange database won't mount 4 21
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

837 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