Display Property Share on Facebook Post on reddit Tweet on Twitter Share on LinkedIn Home › Forums › Microsoft Networking and Management Services › Active Directory › Display Property This topic has 3 replies, 4 voices, and was last updated 14 years, 5 months ago by tonyyeb. Viewing 1 post (of 1 total) Author Posts v3ry900dMember Jun 12, 2006 at 3:55 am #112820 Hello, everyone. I wrote a script to modify any attribute of an Active Directory object. I added this script on the context menu in ADUC for user objects. (I followed the steps described here http://petri.com/add_unlock_user_option_to_dsa.htm) Here is the script: Set wshArguments = WScript.Arguments Set objUser = GetObject(wshArguments(0)) strAttribute = InputBox(Attribute,Attribute,”example”) strValue = InputBox(Value,Value,”example-value”) objUser.put strAttribute, strValue objUser.setinfo msgbox “Done – ” & objuser.sAMAccountName This works fine but what if I want to change an attribute to more than one user at a time? I tried to select more names and execute the script from the context menu but nothing happend. Is there a trick to make it work with more objects? Thanks Author Posts Viewing 1 post (of 1 total) You must be logged in to reply to this topic.