external help file | applicable | schema |
---|---|---|
SharePoint Online |
2.0.0 |
Sets Office 365 Group (aka Unified Group) properties
Set-PnPUnifiedGroup -Identity <UnifiedGroupPipeBind>
[-DisplayName <String>]
[-Description <String>]
[-Owners <String[]>]
[-Members <String[]>]
[-IsPrivate [<SwitchParameter>]]
[-GroupLogoPath <String>]
PS:> Set-PnPUnifiedGroup -Identity $group -DisplayName "My Displayname"
Sets the display name of the group where $group is a Group entity
PS:> Set-PnPUnifiedGroup -Identity $groupId -Descriptions "My Description" -DisplayName "My DisplayName"
Sets the display name and description of a group based upon its ID
PS:> Set-PnPUnifiedGroup -Identity $group -GroupLogoPath ".\MyLogo.png"
Sets a specific Office 365 Group logo.
PS:> Set-PnPUnifiedGroup -Identity $group -IsPrivate:$false
Sets a group to be Public if previously Private.
PS:> Set-PnPUnifiedGroup -Identity $group -Owners demo@contoso.com
Adds demo@contoso.com as an additional owner to the group.
The Description of the group to set.
Type: String
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
The DisplayName of the group to set.
Type: String
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
The path to the logo file of to set.
Type: String
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
The Identity of the Office 365 Group.
Type: UnifiedGroupPipeBind
Parameter Sets: (All)
Required: True
Position: Named
Accept pipeline input: True
Makes the group private when selected.
Type: SwitchParameter
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
The array UPN values of members to add to the group.
Type: String[]
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
The array UPN values of owners to add to the group.
Type: String[]
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False