Bagikan melalui


Modifying Group Attributes

Applies To: Windows Server 2008 R2

This topic explains how to use the Active Directory module for Windows PowerShell to modify an attribute of a group.

Example

The following example demonstrates how to modify the description attribute of the group RODCAdmins in the Fabrikam.com domain:

Set-ADGroup RODCAdmins -Description "The delegated administrators of Read-Only Domain Controllers"

Additional information

You can use the following parameters when you set many of the common values that are applied to groups in Active Directory Domain Services (AD DS):

  • GroupCategory

  • HomePage

  • ManagedBy

  • State

  • StreetAddress

  • Description

  • DisplayName

For a full explanation of the parameters that you can pass to Set-ADGroup, at the Active Directory module command prompt, type Get-Help Set-ADGroup –detailed, and then press ENTER.