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
Solved

Scripting

Posted on 2013-02-05
8
191 Views
Last Modified: 2013-02-07
Need to set an attribute on a about 2000 users but dont have anything in common ... can you guys maybe share how this can be achieved
0
Comment
Question by:vicky19
  • 4
  • 2
  • 2
8 Comments
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38856709
According to my knowledge you need to have something common to filter out these users

- Rancy
0
 
LVL 4

Author Comment

by:vicky19
ID: 38857117
Someone else has some idea
0
 
LVL 16

Expert Comment

by:Rajitha Chimmani
ID: 38857201
Do you have the list of users? If so, you can feed the input to txt or csv file and get it done.
0
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.

 
LVL 4

Author Comment

by:vicky19
ID: 38857206
I just have their first name would i need something additional and what would that be and what to do after that
0
 
LVL 16

Accepted Solution

by:
Rajitha Chimmani earned 250 total points
ID: 38857226
Yes, you would need one unique attribute of those users like displayname, alias or primary SMTP address.

Then once you have them you can try the below lines. i have given the command to update the mailbox properties as you have not mentioned which attribute you are trying to set.

If you have the names in a txt file, use the following (assuming that you would like to set the customattribute1 to test)

Get-Content users.txt | set-mailbox -customattribute1 test
0
 
LVL 4

Author Comment

by:vicky19
ID: 38863491
What should the TXT look like, something like below is fine

LastName, FirstName
LastName1, FirstName1
LastName2, FirstName2
LastName3, FirstName3
LastName4, FirstName4
0
 
LVL 52

Assisted Solution

by:Manpreet SIngh Khatra
Manpreet SIngh Khatra earned 250 total points
ID: 38863704
Yes thats fine or even could be with SamID or similar information for all users

- Rancy
0
 
LVL 4

Author Closing Comment

by:vicky19
ID: 38863913
Thanks guys
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
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…
In this video we show how to create an Accepted Domain 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 >> Ac…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

856 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