Share via


New-MgBetaDeviceManagementGroupPolicyConfiguration

Create new navigation property to groupPolicyConfigurations for deviceManagement

Syntax

CreateExpanded (Default)

New-MgBetaDeviceManagementGroupPolicyConfiguration
    [-ResponseHeadersVariable <string>]
    [-AdditionalProperties <hashtable>]
    [-Assignments <IMicrosoftGraphGroupPolicyConfigurationAssignment[]>]
    [-CreatedDateTime <datetime>]
    [-DefinitionValues <IMicrosoftGraphGroupPolicyDefinitionValue[]>]
    [-Description <string>]
    [-DisplayName <string>]
    [-Id <string>]
    [-LastModifiedDateTime <datetime>]
    [-PolicyConfigurationIngestionType <GroupPolicyConfigurationIngestionType>]
    [-RoleScopeTagIds <string[]>]
    [-Break]
    [-Headers <IDictionary>]
    [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>]
    [-Proxy <uri>]
    [-ProxyCredential <pscredential>]
    [-ProxyUseDefaultCredentials]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Create

New-MgBetaDeviceManagementGroupPolicyConfiguration

    -BodyParameter <IMicrosoftGraphGroupPolicyConfiguration>
    [-ResponseHeadersVariable <string>]
    [-Break]
    [-Headers <IDictionary>]
    [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>]
    [-Proxy <uri>]
    [-ProxyCredential <pscredential>]
    [-ProxyUseDefaultCredentials]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Parameters

-AdditionalProperties

Additional Parameters

Parameter properties

Type:System.Collections.Hashtable
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Assignments

The list of group assignments for the configuration. To construct, see NOTES section for ASSIGNMENTS properties and create a hash table.

Parameter properties

Type:

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphGroupPolicyConfigurationAssignment[]

Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-BodyParameter

The group policy configuration entity contains the configured values for one or more group policy definitions. To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Parameter properties

Type:Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphGroupPolicyConfiguration
Supports wildcards:False
DontShow:False

Parameter sets

Create
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Break

Wait for .NET debugger to attach

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CreatedDateTime

The date and time the object was created.

Parameter properties

Type:System.DateTime
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DefinitionValues

The list of enabled or disabled group policy definition values for the configuration. To construct, see NOTES section for DEFINITIONVALUES properties and create a hash table.

Parameter properties

Type:

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphGroupPolicyDefinitionValue[]

Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Description

User provided description for the resource object.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DisplayName

User provided name for the resource object.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Headers

Optional headers that will be added to the request.

Parameter properties

Type:System.Collections.IDictionary
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-HttpPipelineAppend

SendAsync Pipeline Steps to be appended to the front of the pipeline

Parameter properties

Type:

Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]

Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-HttpPipelinePrepend

SendAsync Pipeline Steps to be prepended to the front of the pipeline

Parameter properties

Type:

Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]

Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

The unique identifier for an entity. Read-only.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LastModifiedDateTime

The date and time the entity was last modified.

Parameter properties

Type:System.DateTime
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PolicyConfigurationIngestionType

Group Policy Configuration Ingestion Type

Parameter properties

Type:Microsoft.Graph.Beta.PowerShell.Support.GroupPolicyConfigurationIngestionType
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Proxy

The URI for the proxy server to use

Parameter properties

Type:System.Uri
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProxyCredential

Credentials for a proxy server to use for the remote call

Parameter properties

Type:System.Management.Automation.PSCredential
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProxyUseDefaultCredentials

Use the default credentials for the proxy

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False
Aliases:RHV

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RoleScopeTagIds

The list of scope tags for the configuration.

Parameter properties

Type:

System.String[]

Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Runs the command in a mode that only reports what would happen without performing the actions.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphGroupPolicyConfiguration

{{ Fill in the Description }}

System.Collections.IDictionary

{{ Fill in the Description }}

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphGroupPolicyConfiguration

{{ Fill in the Description }}

Notes

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

ASSIGNMENTS <IMicrosoftGraphGroupPolicyConfigurationAssignment[]>: The list of group assignments for the configuration. [Id <String>]: The unique identifier for an entity. Read-only. [LastModifiedDateTime <DateTime?>]: The date and time the entity was last modified. [Target <IMicrosoftGraphDeviceAndAppManagementAssignmentTarget>]: Base type for assignment targets. [(Any) <Object>]: This indicates any property can be added to this object. [DeviceAndAppManagementAssignmentFilterId <String>]: The ID of the filter for the target assignment. [DeviceAndAppManagementAssignmentFilterType <DeviceAndAppManagementAssignmentFilterType?>]: Represents type of the assignment filter.

BODYPARAMETER <IMicrosoftGraphGroupPolicyConfiguration>: The group policy configuration entity contains the configured values for one or more group policy definitions. [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Assignments <IMicrosoftGraphGroupPolicyConfigurationAssignment[]>]: The list of group assignments for the configuration. [Id <String>]: The unique identifier for an entity. Read-only. [LastModifiedDateTime <DateTime?>]: The date and time the entity was last modified. [Target <IMicrosoftGraphDeviceAndAppManagementAssignmentTarget>]: Base type for assignment targets. [(Any) <Object>]: This indicates any property can be added to this object. [DeviceAndAppManagementAssignmentFilterId <String>]: The ID of the filter for the target assignment. [DeviceAndAppManagementAssignmentFilterType <DeviceAndAppManagementAssignmentFilterType?>]: Represents type of the assignment filter. [CreatedDateTime <DateTime?>]: The date and time the object was created. [DefinitionValues <IMicrosoftGraphGroupPolicyDefinitionValue[]>]: The list of enabled or disabled group policy definition values for the configuration. [Id <String>]: The unique identifier for an entity. Read-only. [ConfigurationType <GroupPolicyConfigurationType?>]: Group Policy Configuration Type [CreatedDateTime <DateTime?>]: The date and time the object was created. [Definition <IMicrosoftGraphGroupPolicyDefinition>]: The entity describes all of the information about a single group policy. [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Category <IMicrosoftGraphGroupPolicyCategory>]: The category entity stores the category of a group policy definition [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Children <IMicrosoftGraphGroupPolicyCategory[]>]: The children categories [DefinitionFile <IMicrosoftGraphGroupPolicyDefinitionFile>]: The entity represents an ADMX (Administrative Template) XML file. The ADMX file contains a collection of group policy definitions and their locations by category path. The group policy definition file also contains the languages supported as determined by the language dependent ADML (Administrative Template) language files. [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Definitions <IMicrosoftGraphGroupPolicyDefinition[]>]: The group policy definitions associated with the file. [Description <String>]: The localized description of the policy settings in the ADMX file. The default value is empty. [DisplayName <String>]: The localized friendly name of the ADMX file. [FileName <String>]: The file name of the ADMX file without the path. For example: edge.admx [LanguageCodes <String[]>]: The supported language codes for the ADMX file. [LastModifiedDateTime <DateTime?>]: The date and time the entity was last modified. [PolicyType <GroupPolicyType?>]: Type of Group Policy File or Definition. [Revision <String>]: The revision version associated with the file. [TargetNamespace <String>]: Specifies the URI used to identify the namespace within the ADMX file. [TargetPrefix <String>]: Specifies the logical name that refers to the namespace within the ADMX file. [Definitions <IMicrosoftGraphGroupPolicyDefinition[]>]: The immediate GroupPolicyDefinition children of the category [DisplayName <String>]: The string id of the category's display name [IngestionSource <IngestionSource?>]: Category Ingestion source [IsRoot <Boolean?>]: Defines if the category is a root category [LastModifiedDateTime <DateTime?>]: The date and time the entity was last modified. [Parent <IMicrosoftGraphGroupPolicyCategory>]: The category entity stores the category of a group policy definition [CategoryPath <String>]: The localized full category path for the policy. [ClassType <GroupPolicyDefinitionClassType?>]: Group Policy Definition Class Type. [DefinitionFile <IMicrosoftGraphGroupPolicyDefinitionFile>]: The entity represents an ADMX (Administrative Template) XML file. The ADMX file contains a collection of group policy definitions and their locations by category path. The group policy definition file also contains the languages supported as determined by the language dependent ADML (Administrative Template) language files. [DisplayName <String>]: The localized policy name. [ExplainText <String>]: The localized explanation or help text associated with the policy. The default value is empty. [GroupPolicyCategoryId <String>]: The category id of the parent category [HasRelatedDefinitions <Boolean?>]: Signifies whether or not there are related definitions to this definition [LastModifiedDateTime <DateTime?>]: The date and time the entity was last modified. [MinDeviceCspVersion <String>]: Minimum required CSP version for device configuration in this definition [MinUserCspVersion <String>]: Minimum required CSP version for user configuration in this definition [NextVersionDefinition <IMicrosoftGraphGroupPolicyDefinition>]: The entity describes all of the information about a single group policy. [PolicyType <GroupPolicyType?>]: Type of Group Policy File or Definition. [Presentations <IMicrosoftGraphGroupPolicyPresentation[]>]: The group policy presentations associated with the definition. [Id <String>]: The unique identifier for an entity. Read-only. [Definition <IMicrosoftGraphGroupPolicyDefinition>]: The entity describes all of the information about a single group policy. [Label <String>]: Localized text label for any presentation entity. The default value is empty. [LastModifiedDateTime <DateTime?>]: The date and time the entity was last modified. [PreviousVersionDefinition <IMicrosoftGraphGroupPolicyDefinition>]: The entity describes all of the information about a single group policy. [SupportedOn <String>]: Localized string used to specify what operating system or application version is affected by the policy. [Version <String>]: Setting definition version [Enabled <Boolean?>]: Enables or disables the associated group policy definition. [LastModifiedDateTime <DateTime?>]: The date and time the entity was last modified. [PresentationValues <IMicrosoftGraphGroupPolicyPresentationValue[]>]: The associated group policy presentation values with the definition value. [Id <String>]: The unique identifier for an entity. Read-only. [CreatedDateTime <DateTime?>]: The date and time the object was created. [DefinitionValue <IMicrosoftGraphGroupPolicyDefinitionValue>]: The definition value entity stores the value for a single group policy definition. [LastModifiedDateTime <DateTime?>]: The date and time the object was last modified. [Presentation <IMicrosoftGraphGroupPolicyPresentation>]: The base entity for the display presentation of any of the additional options in a group policy definition. [Description <String>]: User provided description for the resource object. [DisplayName <String>]: User provided name for the resource object. [LastModifiedDateTime <DateTime?>]: The date and time the entity was last modified. [PolicyConfigurationIngestionType <GroupPolicyConfigurationIngestionType?>]: Group Policy Configuration Ingestion Type [RoleScopeTagIds <String[]>]: The list of scope tags for the configuration.

DEFINITIONVALUES <IMicrosoftGraphGroupPolicyDefinitionValue[]>: The list of enabled or disabled group policy definition values for the configuration. [Id <String>]: The unique identifier for an entity. Read-only. [ConfigurationType <GroupPolicyConfigurationType?>]: Group Policy Configuration Type [CreatedDateTime <DateTime?>]: The date and time the object was created. [Definition <IMicrosoftGraphGroupPolicyDefinition>]: The entity describes all of the information about a single group policy. [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Category <IMicrosoftGraphGroupPolicyCategory>]: The category entity stores the category of a group policy definition [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Children <IMicrosoftGraphGroupPolicyCategory[]>]: The children categories [DefinitionFile <IMicrosoftGraphGroupPolicyDefinitionFile>]: The entity represents an ADMX (Administrative Template) XML file. The ADMX file contains a collection of group policy definitions and their locations by category path. The group policy definition file also contains the languages supported as determined by the language dependent ADML (Administrative Template) language files. [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Definitions <IMicrosoftGraphGroupPolicyDefinition[]>]: The group policy definitions associated with the file. [Description <String>]: The localized description of the policy settings in the ADMX file. The default value is empty. [DisplayName <String>]: The localized friendly name of the ADMX file. [FileName <String>]: The file name of the ADMX file without the path. For example: edge.admx [LanguageCodes <String[]>]: The supported language codes for the ADMX file. [LastModifiedDateTime <DateTime?>]: The date and time the entity was last modified. [PolicyType <GroupPolicyType?>]: Type of Group Policy File or Definition. [Revision <String>]: The revision version associated with the file. [TargetNamespace <String>]: Specifies the URI used to identify the namespace within the ADMX file. [TargetPrefix <String>]: Specifies the logical name that refers to the namespace within the ADMX file. [Definitions <IMicrosoftGraphGroupPolicyDefinition[]>]: The immediate GroupPolicyDefinition children of the category [DisplayName <String>]: The string id of the category's display name [IngestionSource <IngestionSource?>]: Category Ingestion source [IsRoot <Boolean?>]: Defines if the category is a root category [LastModifiedDateTime <DateTime?>]: The date and time the entity was last modified. [Parent <IMicrosoftGraphGroupPolicyCategory>]: The category entity stores the category of a group policy definition [CategoryPath <String>]: The localized full category path for the policy. [ClassType <GroupPolicyDefinitionClassType?>]: Group Policy Definition Class Type. [DefinitionFile <IMicrosoftGraphGroupPolicyDefinitionFile>]: The entity represents an ADMX (Administrative Template) XML file. The ADMX file contains a collection of group policy definitions and their locations by category path. The group policy definition file also contains the languages supported as determined by the language dependent ADML (Administrative Template) language files. [DisplayName <String>]: The localized policy name. [ExplainText <String>]: The localized explanation or help text associated with the policy. The default value is empty. [GroupPolicyCategoryId <String>]: The category id of the parent category [HasRelatedDefinitions <Boolean?>]: Signifies whether or not there are related definitions to this definition [LastModifiedDateTime <DateTime?>]: The date and time the entity was last modified. [MinDeviceCspVersion <String>]: Minimum required CSP version for device configuration in this definition [MinUserCspVersion <String>]: Minimum required CSP version for user configuration in this definition [NextVersionDefinition <IMicrosoftGraphGroupPolicyDefinition>]: The entity describes all of the information about a single group policy. [PolicyType <GroupPolicyType?>]: Type of Group Policy File or Definition. [Presentations <IMicrosoftGraphGroupPolicyPresentation[]>]: The group policy presentations associated with the definition. [Id <String>]: The unique identifier for an entity. Read-only. [Definition <IMicrosoftGraphGroupPolicyDefinition>]: The entity describes all of the information about a single group policy. [Label <String>]: Localized text label for any presentation entity. The default value is empty. [LastModifiedDateTime <DateTime?>]: The date and time the entity was last modified. [PreviousVersionDefinition <IMicrosoftGraphGroupPolicyDefinition>]: The entity describes all of the information about a single group policy. [SupportedOn <String>]: Localized string used to specify what operating system or application version is affected by the policy. [Version <String>]: Setting definition version [Enabled <Boolean?>]: Enables or disables the associated group policy definition. [LastModifiedDateTime <DateTime?>]: The date and time the entity was last modified. [PresentationValues <IMicrosoftGraphGroupPolicyPresentationValue[]>]: The associated group policy presentation values with the definition value. [Id <String>]: The unique identifier for an entity. Read-only. [CreatedDateTime <DateTime?>]: The date and time the object was created. [DefinitionValue <IMicrosoftGraphGroupPolicyDefinitionValue>]: The definition value entity stores the value for a single group policy definition. [LastModifiedDateTime <DateTime?>]: The date and time the object was last modified. [Presentation <IMicrosoftGraphGroupPolicyPresentation>]: The base entity for the display presentation of any of the additional options in a group policy definition.