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[]>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Create

New-MgBetaDeviceManagementGroupPolicyConfiguration
    -BodyParameter <IMicrosoftGraphGroupPolicyConfiguration>
    [-ResponseHeadersVariable <String>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Create new navigation property to groupPolicyConfigurations for deviceManagement

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) DeviceManagementConfiguration.ReadWrite.All,
Delegated (personal Microsoft account) Not supported
Application DeviceManagementConfiguration.ReadWrite.All,

Parameters

-AdditionalProperties

Additional Parameters

Parameter properties

Type:Hashtable
Default value:None
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:

IMicrosoftGraphGroupPolicyConfigurationAssignment[]

Default value:None
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:IMicrosoftGraphGroupPolicyConfiguration
Default value:None
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

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
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:DateTime
Default value:None
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:

IMicrosoftGraphGroupPolicyDefinitionValue[]

Default value:None
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:String
Default value:None
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:String
Default value:None
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:IDictionary
Default value:None
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

-Id

The unique identifier for an entity. Read-only.

Parameter properties

Type:String
Default value:None
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:DateTime
Default value:None
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:GroupPolicyConfigurationIngestionType
Default value:None
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

-ResponseHeadersVariable

Optional Response Headers Variable.

Parameter properties

Type:String
Default value:None
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:

String[]

Default value:None
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

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
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

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphGroupPolicyConfiguration

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.