ActiveDirectory

Using Powergui to mass edit Active Directory Object Attributes

Using Powergui to mass edit Active Directory Object Attributes

If you have a specific attribute that you want to modify on an active directory object, you can simply open up Active Directory Users and Computers, go to the properties of the object, and go to “Attribute Editor” of the object (Advanced Features, Windows 2008 ADUC) and update the attribute that you want to modify.

However, imagine for a moment that you have hundreds, thousands, or even tens of thousands of objects to update, this would take almost the rest of your lifetime to accomplish if that were the case.

Using Powergui and the Active Directory Powerpack from Quest Software, you can make this type of task a matter of a few minutes worth of work.ย  For instance I had a client that wanted to modify the msExchQueryBaseDN attribute of several thousand user accounts to restrict the scope of their address list access in OWA.ย  Using Powergui, we were able to knock this out in minutes.ย  Let’s look and see how.

Open PowerGUI and navigate to your user accounts container that you are working with:

Powergui will populate the screen with the user accounts that you have available.ย  Highlight the user accounts you are wanting to modify:

att2

After selecting one or all of your users that you want, right click and you will be presented with the menu options below.ย  You want to go to “General” >> and then “Modify.”

att3

When you click “Modify” you will be taken to the “Modify Parameters” screen where you will see a lot of “Resources” that can be modified.ย  Almost to the bottom of the page you will see the “Object Attributes” field that can be modified.ย  This is where you will want to modify your object attributes.ย  The syntax for this field is a bit non intuitive, but once you have the syxtax for one attribute, you have them all.ย  Below is an example of the syntax for the msExchQueryBaseDN object.

@{msExchQueryBaseDN=’Your attribute goes here’}

After you place your attribute in the “Value” field, simply click OK and PowerGUI will go to work updating the attribute you specified, saving you hours, or days of work.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.