Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Scripting

Posted on 2013-02-05
8
Medium Priority
?
195 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
[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
  • 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
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 
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 1000 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 1000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

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…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
In this video we show how to create an email address policy 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…
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…
Suggested Courses

636 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