Skip to content

Set GGroupssettings

Spencer Varney edited this page Dec 27, 2016 · 4 revisions

Set-GGroupssettings

SYNOPSIS

Updates an existing resource. This method supports Set semantics.

SYNTAX

Body

Set-GGroupssettings [-GroupUniqueId] <String> [[-GroupsBody] <Groups>]
 [[-DefaultMessageDenyNotificationText] <String>] [[-Description] <String>] [-Email <String>]
 [-GAuthId <String>] [-WhatIf] [-Confirm]

Params

Set-GGroupssettings [-GroupUniqueId] <String> [[-AllowExternalMembers] <Boolean>]
 [[-AllowGoogleCommunication] <Boolean>] [[-AllowWebPosting] <Boolean>] [[-ArchiveOnly] <Boolean>]
 [[-CustomReplyTo] <String>] [[-DefaultMessageDenyNotificationText] <String>] [[-Description] <String>]
 [-Email <String>] [[-IncludeInGlobalAddressList] <Boolean>] [[-IsArchived] <Boolean>]
 [[-MaxMessageBytes] <Int32>] [[-MembersCanPostAsTheGroup] <Boolean>]
 [[-MessageDisplayFont] <MessageDisplayFontEnum>] [[-MessageModerationLevel] <MessageModerationLevelEnum>]
 [[-Name] <String>] [[-PrimaryLanguage] <LanguageLanguageAbbrevEnum>] [[-ReplyTo] <String>]
 [[-SendMessageDenyNotification] <Boolean>] [[-ShowInGroupDirectory] <Boolean>]
 [[-SpamModerationLevel] <SpamModerationLevelEnum>] [[-WhoCanAdd] <WhoCanAddEnum>]
 [[-WhoCanContactOwner] <WhoCanContactOwnerEnum>] [[-WhoCanInvite] <WhoCanInviteEnum>]
 [[-WhoCanJoin] <WhoCanJoinEnum>] [[-WhoCanLeaveGroup] <WhoCanLeaveGroupEnum>]
 [[-WhoCanPostMessage] <WhoCanPostMessageEnum>] [[-WhoCanViewGroup] <WhoCanViewGroupEnum>]
 [[-WhoCanViewMembership] <WhoCanViewMembershipEnum>] [-GAuthId <String>] [-WhatIf] [-Confirm]

DESCRIPTION

Updates an existing resource. This method supports Set semantics.

EXAMPLES

---------- EXAMPLE 1 ----------

PS C:\> Set-GGroupssettings -GroupUniqueId $SomeGroupUniqueIdString -GroupsBody $SomeGroupsObj

This automatically generated example serves to show the bare minimum required to call this Cmdlet.

Additional examples may be added, viewed and edited by users on the community wiki at the URL found in the related links.

PARAMETERS

-GroupUniqueId

The resource ID

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 0
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-GroupsBody

JSON template for Group resource

Type: Groups
Parameter Sets: Body
Aliases: 

Required: False
Position: 1
Default value: 
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-AllowExternalMembers

Are external members allowed to join the group.

Type: Boolean
Parameter Sets: Params
Aliases: 

Required: False
Position: 1
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-AllowGoogleCommunication

Is google allowed to contact admins.

Type: Boolean
Parameter Sets: Params
Aliases: 

Required: False
Position: 2
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-AllowWebPosting

If posting from web is allowed.

Type: Boolean
Parameter Sets: Params
Aliases: 

Required: False
Position: 3
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ArchiveOnly

If the group is archive only

Type: Boolean
Parameter Sets: Params
Aliases: 

Required: False
Position: 4
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-CustomReplyTo

Default email to which reply to any message should go.

Type: String
Parameter Sets: Params
Aliases: 

Required: False
Position: 5
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-DefaultMessageDenyNotificationText

Default message deny notification message

Type: String
Parameter Sets: Body
Aliases: 

Required: False
Position: 6
Default value: 
Accept pipeline input: False
Accept wildcard characters: False
Type: String
Parameter Sets: Params
Aliases: 

Required: False
Position: 6
Default value: 
Accept pipeline input: False
Accept wildcard characters: False

-Description

Description of the group

Type: String
Parameter Sets: Body
Aliases: 

Required: False
Position: 7
Default value: 
Accept pipeline input: False
Accept wildcard characters: False
Type: String
Parameter Sets: Params
Aliases: 

Required: False
Position: 7
Default value: 
Accept pipeline input: False
Accept wildcard characters: False

-Email

Email id of the group

Type: String
Parameter Sets: Body
Aliases: 

Required: False
Position: Named
Default value: 
Accept pipeline input: False
Accept wildcard characters: False
Type: String
Parameter Sets: Params
Aliases: 

Required: False
Position: Named
Default value: 
Accept pipeline input: False
Accept wildcard characters: False

-IncludeInGlobalAddressList

If this groups should be included in global address list or not.

Type: Boolean
Parameter Sets: Params
Aliases: 

Required: False
Position: 9
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-IsArchived

If the contents of the group are archived.

Type: Boolean
Parameter Sets: Params
Aliases: 

Required: False
Position: 10
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-MaxMessageBytes

Maximum message size allowed.

Type: Int32
Parameter Sets: Params
Aliases: 

Required: False
Position: 11
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-MembersCanPostAsTheGroup

Can members post using the group email address.

Type: Boolean
Parameter Sets: Params
Aliases: 

Required: False
Position: 12
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-MessageDisplayFont

Default message display font. Possible values are: DEFAULT_FONT FIXED_WIDTH_FONT

Possible values: DEFAULT_FONT, FIXED_WIDTH_FONT

Type: MessageDisplayFontEnum
Parameter Sets: Params
Aliases: 
Accepted values: DEFAULT_FONT, FIXED_WIDTH_FONT

Required: False
Position: 13
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-MessageModerationLevel

Moderation level for messages. Possible values are: MODERATE_ALL_MESSAGES MODERATE_NON_MEMBERS MODERATE_NEW_MEMBERS MODERATE_NONE

Possible values: MODERATE_ALL_MESSAGES, MODERATE_NEW_MEMBERS, MODERATE_NONE, MODERATE_NON_MEMBERS

Type: MessageModerationLevelEnum
Parameter Sets: Params
Aliases: 
Accepted values: MODERATE_ALL_MESSAGES, MODERATE_NEW_MEMBERS, MODERATE_NONE, MODERATE_NON_MEMBERS

Required: False
Position: 14
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Name

Name of the Group

Type: String
Parameter Sets: Params
Aliases: 

Required: False
Position: 15
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-PrimaryLanguage

Primary language for the group.

Possible values: ar, bn, bg, ca, zh_CN, zh_TW, hr, cs, da, nl, en_US, en_GB, et, fi, fr, de, el, gu, iw, i, hu, is, in, it, ja, kn, ko, lv, lt, ms, l, mr, no, or, fa, pl, pt_BR, pt_PT, ro, ru, sr, sk, sl, es, sv, tl, ta, te, th, tr, uk, ur, vi

Type: LanguageLanguageAbbrevEnum
Parameter Sets: Params
Aliases: 
Accepted values: ar, bn, bg, ca, zh_CN, zh_TW, hr, cs, da, nl, en_US, en_GB, et, fi, fr, de, el, gu, iw, i, hu, is, in, it, ja, kn, ko, lv, lt, ms, l, mr, no, or, fa, pl, pt_BR, pt_PT, ro, ru, sr, sk, sl, es, sv, tl, ta, te, th, tr, uk, ur, vi

Required: False
Position: 16
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ReplyTo

Whome should the default reply to a message go to. Possible values are: REPLY_TO_CUSTOM REPLY_TO_SENDER REPLY_TO_LIST REPLY_TO_OWNER REPLY_TO_IGNORE REPLY_TO_MANAGERS

Type: String
Parameter Sets: Params
Aliases: 

Required: False
Position: 17
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-SendMessageDenyNotification

Should the member be notified if his message is denied by owner.

Type: Boolean
Parameter Sets: Params
Aliases: 

Required: False
Position: 18
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ShowInGroupDirectory

Is the group listed in groups directory

Type: Boolean
Parameter Sets: Params
Aliases: 

Required: False
Position: 19
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-SpamModerationLevel

Moderation level for messages detected as spam. Possible values are: ALLOW MODERATE SILENTLY_MODERATE REJECT

Possible values: ALLOW, MODERATE, SILENTLY_MODERATE, REJECT

Type: SpamModerationLevelEnum
Parameter Sets: Params
Aliases: 
Accepted values: ALLOW, MODERATE, SILENTLY_MODERATE, REJECT

Required: False
Position: 20
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhoCanAdd

Permissions to add members. Possible values are: ALL_MANAGERS_CAN_ADD ALL_MEMBERS_CAN_ADD NONE_CAN_ADD

Possible values: ALL_MEMBERS_CAN_ADD, ALL_MANAGERS_CAN_ADD, NONE_CAN_ADD

Type: WhoCanAddEnum
Parameter Sets: Params
Aliases: 
Accepted values: ALL_MEMBERS_CAN_ADD, ALL_MANAGERS_CAN_ADD, NONE_CAN_ADD

Required: False
Position: 21
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhoCanContactOwner

Permission to contact owner of the group via web UI. Possible values are: ANYONE_CAN_CONTACT ALL_IN_DOMAIN_CAN_CONTACT ALL_MEMBERS_CAN_CONTACT ALL_MANAGERS_CAN_CONTACT

Possible values: ALL_IN_DOMAIN_CAN_CONTACT, ALL_MANAGERS_CAN_CONTACT, ALL_MEMBERS_CAN_CONTACT, ANYONE_CAN_CONTACT

Type: WhoCanContactOwnerEnum
Parameter Sets: Params
Aliases: 
Accepted values: ALL_IN_DOMAIN_CAN_CONTACT, ALL_MANAGERS_CAN_CONTACT, ALL_MEMBERS_CAN_CONTACT, ANYONE_CAN_CONTACT

Required: False
Position: 22
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhoCanInvite

Permissions to invite members. Possible values are: ALL_MEMBERS_CAN_INVITE ALL_MANAGERS_CAN_INVITE NONE_CAN_INVITE

Possible values: ALL_MANAGERS_CAN_INVITE, ALL_MEMBERS_CAN_INVITE, NONE_CAN_INVITE

Type: WhoCanInviteEnum
Parameter Sets: Params
Aliases: 
Accepted values: ALL_MANAGERS_CAN_INVITE, ALL_MEMBERS_CAN_INVITE, NONE_CAN_INVITE

Required: False
Position: 23
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhoCanJoin

Permissions to join the group. Possible values are: ANYONE_CAN_JOIN ALL_IN_DOMAIN_CAN_JOIN INVITED_CAN_JOIN CAN_REQUEST_TO_JOIN

Possible values: ALL_IN_DOMAIN_CAN_JOIN, ANYONE_CAN_JOIN, CAN_REQUEST_TO_JOIN, INVITED_CAN_JOIN

Type: WhoCanJoinEnum
Parameter Sets: Params
Aliases: 
Accepted values: ALL_IN_DOMAIN_CAN_JOIN, ANYONE_CAN_JOIN, CAN_REQUEST_TO_JOIN, INVITED_CAN_JOIN

Required: False
Position: 24
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhoCanLeaveGroup

Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE

Possible values: ALL_MANAGERS_CAN_LEAVE, ALL_MEMBERS_CAN_LEAVE, NONE_CAN_LEAVE

Type: WhoCanLeaveGroupEnum
Parameter Sets: Params
Aliases: 
Accepted values: ALL_MANAGERS_CAN_LEAVE, ALL_MEMBERS_CAN_LEAVE, NONE_CAN_LEAVE

Required: False
Position: 25
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhoCanPostMessage

Permissions to post messages to the group. Possible values are: NONE_CAN_POST ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST

Possible values: ALL_IN_DOMAIN_CAN_POST, ALL_MANAGERS_CAN_POST, ALL_MEMBERS_CAN_POST, ANYONE_CAN_POST, NONE_CAN_POST

Type: WhoCanPostMessageEnum
Parameter Sets: Params
Aliases: 
Accepted values: ALL_IN_DOMAIN_CAN_POST, ALL_MANAGERS_CAN_POST, ALL_MEMBERS_CAN_POST, ANYONE_CAN_POST, NONE_CAN_POST

Required: False
Position: 26
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhoCanViewGroup

Permissions to view group. Possible values are: ANYONE_CAN_VIEW ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW

Possible values: ALL_IN_DOMAIN_CAN_VIEW, ALL_MANAGERS_CAN_VIEW, ALL_MEMBERS_CAN_VIEW, ANYON_CAN_VIEW

Type: WhoCanViewGroupEnum
Parameter Sets: Params
Aliases: 
Accepted values: ALL_IN_DOMAIN_CAN_VIEW, ALL_MANAGERS_CAN_VIEW, ALL_MEMBERS_CAN_VIEW, ANYON_CAN_VIEW

Required: False
Position: 27
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhoCanViewMembership

Permissions to view membership. Possible values are: ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW

Possible values: ALL_IN_DOMAIN_CAN_VIEW, ALL_MANAGERS_CAN_VIEW, ALL_MEMBERS_CAN_VIEW

Type: WhoCanViewMembershipEnum
Parameter Sets: Params
Aliases: 
Accepted values: ALL_IN_DOMAIN_CAN_VIEW, ALL_MANAGERS_CAN_VIEW, ALL_MEMBERS_CAN_VIEW

Required: False
Position: 28
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-GAuthId

The GAuthId representing the gShell auth credentials this cmdlet should use to run.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: 
Accept pipeline input: False
Accept wildcard characters: False

INPUTS

System.String

The resource ID

Google.Apis.Groupssettings.v1.Data.Groups

JSON template for Group resource

System.Boolean

Are external members allowed to join the group.

System.Boolean

Is google allowed to contact admins.

System.Boolean

If posting from web is allowed.

System.Boolean

If the group is archive only

System.String

Default email to which reply to any message should go.

System.String

Default message deny notification message

System.String

Description of the group

System.String

Email id of the group

System.Boolean

If this groups should be included in global address list or not.

System.Boolean

If the contents of the group are archived.

System.Int32

Maximum message size allowed.

System.Boolean

Can members post using the group email address.

gShell.Cmdlets.Groupssettings.Groups.MessageDisplayFontEnum

Default message display font. Possible values are: DEFAULT_FONT FIXED_WIDTH_FONT

gShell.Cmdlets.Groupssettings.Groups.MessageModerationLevelEnum

Moderation level for messages. Possible values are: MODERATE_ALL_MESSAGES MODERATE_NON_MEMBERS MODERATE_NEW_MEMBERS MODERATE_NONE

System.String

Name of the Group

gShell.Cmdlets.Emailsettings.LanguageLanguageAbbrevEnum

Primary language for the group.

System.String

Whome should the default reply to a message go to. Possible values are: REPLY_TO_CUSTOM REPLY_TO_SENDER REPLY_TO_LIST REPLY_TO_OWNER REPLY_TO_IGNORE REPLY_TO_MANAGERS

System.Boolean

Should the member be notified if his message is denied by owner.

System.Boolean

Is the group listed in groups directory

gShell.Cmdlets.Groupssettings.Groups.SpamModerationLevelEnum

Moderation level for messages detected as spam. Possible values are: ALLOW MODERATE SILENTLY_MODERATE REJECT

gShell.Cmdlets.Groupssettings.Groups.WhoCanAddEnum

Permissions to add members. Possible values are: ALL_MANAGERS_CAN_ADD ALL_MEMBERS_CAN_ADD NONE_CAN_ADD

gShell.Cmdlets.Groupssettings.Groups.WhoCanContactOwnerEnum

Permission to contact owner of the group via web UI. Possible values are: ANYONE_CAN_CONTACT ALL_IN_DOMAIN_CAN_CONTACT ALL_MEMBERS_CAN_CONTACT ALL_MANAGERS_CAN_CONTACT

gShell.Cmdlets.Groupssettings.Groups.WhoCanInviteEnum

Permissions to invite members. Possible values are: ALL_MEMBERS_CAN_INVITE ALL_MANAGERS_CAN_INVITE NONE_CAN_INVITE

gShell.Cmdlets.Groupssettings.Groups.WhoCanJoinEnum

Permissions to join the group. Possible values are: ANYONE_CAN_JOIN ALL_IN_DOMAIN_CAN_JOIN INVITED_CAN_JOIN CAN_REQUEST_TO_JOIN

gShell.Cmdlets.Groupssettings.Groups.WhoCanLeaveGroupEnum

Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE

gShell.Cmdlets.Groupssettings.Groups.WhoCanPostMessageEnum

Permissions to post messages to the group. Possible values are: NONE_CAN_POST ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST

gShell.Cmdlets.Groupssettings.Groups.WhoCanViewGroupEnum

Permissions to view group. Possible values are: ANYONE_CAN_VIEW ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW

gShell.Cmdlets.Groupssettings.Groups.WhoCanViewMembershipEnum

Permissions to view membership. Possible values are: ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW

OUTPUTS

NOTES

Part of the gShell Project, relating to the Google Groupssettings API; see Related Links or use the -Online parameter.

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally