< Back

New-Groups_Settings

Sat Jan 18, 2020 12:31 pm

NAME New-Groups_Settings



SYNOPSIS

Creates a "microsoft.graph.groupSetting" object.





SYNTAX

New-Groups_Settings -groupId <string> [-displayName <string>] [-templateId <string>] [-values <object[]>]

[<CommonParameters>]



New-Groups_Settings -groupId <string> -ODataType <string> [-displayName <string>] [-templateId <string>] [-values

<object[]>] [<CommonParameters>]





DESCRIPTION

Adds a "microsoft.graph.groupSetting" object to the "settings" collection.



Graph call: POST ~/groups/{groupId}/settings





PARAMETERS

-groupId <string>

A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-displayName <string>

The "displayName" property, of type "Edm.String".



This property is on the "microsoft.graph.groupSetting" type.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-templateId <string>

The "templateId" property, of type "Edm.String".



This property is on the "microsoft.graph.groupSetting" type.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-values <object[]>

The "values" property, of type "microsoft.graph.settingValue".



This property is on the "microsoft.graph.groupSetting" type.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ODataType <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-@odata.type <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



This is an alias of the ODataType parameter.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String

A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.



System.String

The "displayName" property, of type "Edm.String".



This property is on the "microsoft.graph.groupSetting" type.



System.String

The "templateId" property, of type "Edm.String".



This property is on the "microsoft.graph.groupSetting" type.



System.Object[]

The "values" property, of type "microsoft.graph.settingValue".



This property is on the "microsoft.graph.groupSetting" type.



System.String

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK