O'Reilly logo

Windows PowerShell™ Scripting Guide by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Modifying User Attributes

There are dozens of attributes available for user accounts. For most of these attributes, it is a simple matter to identify the appropriate attribute and use the put() method to update the value. Next you'll learn about scripts that fill in the common attributes for each of the pages associated with the user object in the Active Directory Users and Computers (ADUC) Microsoft Management Console (MMC) snap-in.

Note

Best Practices In this section there are five scripts that contain hard-coded values used to populate attributes in Active Directory. In reality, you won't use scripts written in this manner. These five scripts illustrate the process of assigning values to the attributes. In fact, finding the attribute names is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required