I'm not really expert on vbscript and been trying to search from internet about the problem that i have but just couldn;t find any solution. We are currently making a review on our AD and found users having wrong attributes.
Now, we want this to be modified in bulk. Hoping this forum could help me out.
Here's my request. I have a list of users in text file (logonname or SAMAccount). And I want to modify their country code to AU.
The script should be like this.
cscript <script name> /File:<location of the txt file> /attribute:<target attribute> /Value: <value of the attribute>
So in short, my tasks should be like this.
cscript <script name> /File:"c:\users.txt" /attribute:countryCode /Value:"AU"
- Edited by Kamote.q26 Wednesday, February 04, 2015 2:13 AM
- Changed type Bill_StewartModerator Wednesday, February 04, 2015 4:03 AM