Set-DistributionGroup cmdlet sets the group properties. The property can be disabled for editing if special plan's features like ADSync are enabled.

This cmdlet supports risk-mitigation parameters.

Input parameters

#

Parameter

Type

Mandatory (R/O)

Description

Restrictions/Valid Values
1 Authentication Information (all parameters)  

2

Identity

(aliases: GUID, DistinguishedName)

ADObjectIDParameter

A property, that is used for managing the distribution group

Value of one of these parameters can be used as Identity:

#ParameterDescription
1 GUID Globally Unique Identifier (ObjectGuid)
2 DistinguishedName Unique name of the object in Active Directory
3 DisplayName

string

O Name of the distribution group in Control Panel 

Max length is 256 symbols

4 HideFromAddressBook bool O This parameter specifies whether this distribution group is visible in the address book
  • True - the distribution group is not visible in the address book.
  • False - the distribution group is visible in the address book. This is the default value.
5 ManagedBy

ADObjectIDParameter

O

Distribution group's manager (Mailbox, POP/IMAP mailbox, Distribution List)

6 Notes

string

O Additional information, comments Max length is 1024 symbols

Output parameters

No parameters

Example of using Set-DistributionGroup cmdlet

Set-DistributionGroup -Identity "42F10C24-366B-4C66-945A-CEF2EB44A1DB" -Notes "Sales Team" -DisplayName "Sales Group"