Solved

Scripting

Posted on 2013-02-05
8
187 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
 
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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Join & Write a Comment

Suggested Solutions

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
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 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

747 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

12 Experts available now in Live!

Get 1:1 Help Now