Share via


New-MgBetaDeviceManagementConfigurationPolicyTemplate

Create new navigation property to configurationPolicyTemplates for deviceManagement

Syntax

CreateExpanded (Default)

New-MgBetaDeviceManagementConfigurationPolicyTemplate
    [-ResponseHeadersVariable <string>]
    [-AdditionalProperties <hashtable>]
    [-AllowUnmanagedSettings]
    [-BaseId <string>]
    [-Description <string>]
    [-DisableEntraGroupPolicyAssignment]
    [-DisplayName <string>]
    [-DisplayVersion <string>]
    [-Id <string>]
    [-LifecycleState <DeviceManagementTemplateLifecycleState>]
    [-Platforms <DeviceManagementConfigurationPlatforms>]
    [-SettingTemplates <IMicrosoftGraphDeviceManagementConfigurationSettingTemplate[]>]
    [-Technologies <DeviceManagementConfigurationTechnologies>]
    [-TemplateFamily <DeviceManagementConfigurationTemplateFamily>]
    [-Break]
    [-Headers <IDictionary>]
    [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>]
    [-Proxy <uri>]
    [-ProxyCredential <pscredential>]
    [-ProxyUseDefaultCredentials]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Create

New-MgBetaDeviceManagementConfigurationPolicyTemplate

    -BodyParameter <IMicrosoftGraphDeviceManagementConfigurationPolicyTemplate>
    [-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

-AllowUnmanagedSettings

Allow unmanaged setting templates

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:False
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

-BaseId

Template base identifier

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

-BodyParameter

Device Management Configuration Policy Template To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Parameter properties

Type:Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphDeviceManagementConfigurationPolicyTemplate
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

-Description

Template description

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

-DisableEntraGroupPolicyAssignment

Indicates whether assignments to Entra security groups is disabled

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:False
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

Template display name

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

-DisplayVersion

Description of template version

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

-LifecycleState

Describes current lifecycle state of a template

Parameter properties

Type:Microsoft.Graph.Beta.PowerShell.Support.DeviceManagementTemplateLifecycleState
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

-Platforms

Supported platform types.

Parameter properties

Type:Microsoft.Graph.Beta.PowerShell.Support.DeviceManagementConfigurationPlatforms
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

-SettingTemplates

Setting templates To construct, see NOTES section for SETTINGTEMPLATES properties and create a hash table.

Parameter properties

Type:

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

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

-Technologies

Describes which technology this setting can be deployed with

Parameter properties

Type:Microsoft.Graph.Beta.PowerShell.Support.DeviceManagementConfigurationTechnologies
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

-TemplateFamily

Describes the TemplateFamily for the Template entity

Parameter properties

Type:Microsoft.Graph.Beta.PowerShell.Support.DeviceManagementConfigurationTemplateFamily
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.IMicrosoftGraphDeviceManagementConfigurationPolicyTemplate

{{ Fill in the Description }}

System.Collections.IDictionary

{{ Fill in the Description }}

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphDeviceManagementConfigurationPolicyTemplate

{{ 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.

BODYPARAMETER <IMicrosoftGraphDeviceManagementConfigurationPolicyTemplate>: Device Management Configuration Policy Template [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [AllowUnmanagedSettings <Boolean?>]: Allow unmanaged setting templates [BaseId <String>]: Template base identifier [Description <String>]: Template description [DisableEntraGroupPolicyAssignment <Boolean?>]: Indicates whether assignments to Entra security groups is disabled [DisplayName <String>]: Template display name [DisplayVersion <String>]: Description of template version [LifecycleState <DeviceManagementTemplateLifecycleState?>]: Describes current lifecycle state of a template [Platforms <DeviceManagementConfigurationPlatforms?>]: Supported platform types. [SettingTemplates <IMicrosoftGraphDeviceManagementConfigurationSettingTemplate[]>]: Setting templates [Id <String>]: The unique identifier for an entity. Read-only. [SettingDefinitions <IMicrosoftGraphDeviceManagementConfigurationSettingDefinition[]>]: List of related Setting Definitions [Id <String>]: The unique identifier for an entity. Read-only. [AccessTypes <String>]: deviceManagementConfigurationSettingAccessTypes [Applicability <IMicrosoftGraphDeviceManagementConfigurationSettingApplicability>]: deviceManagementConfigurationSettingApplicability [(Any) <Object>]: This indicates any property can be added to this object. [Description <String>]: description of the setting [DeviceMode <DeviceManagementConfigurationDeviceMode?>]: Describes applicability for the mode the device is in [Platform <DeviceManagementConfigurationPlatforms?>]: Supported platform types. [Technologies <DeviceManagementConfigurationTechnologies?>]: Describes which technology this setting can be deployed with [BaseUri <String>]: Base CSP Path [CategoryId <String>]: Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) [Description <String>]: Description of the item [DisplayName <String>]: Display name of the item [HelpText <String>]: Help text of the item [InfoUrls <String[]>]: List of links more info for the setting can be found at [Keywords <String[]>]: Tokens which to search settings on [Name <String>]: Name of the item [Occurrence <IMicrosoftGraphDeviceManagementConfigurationSettingOccurrence>]: deviceManagementConfigurationSettingOccurrence [(Any) <Object>]: This indicates any property can be added to this object. [MaxDeviceOccurrence <Int32?>]: Maximum times setting can be set on device. [MinDeviceOccurrence <Int32?>]: Minimum times setting can be set on device. A MinDeviceOccurrence of 0 means setting is optional [OffsetUri <String>]: Offset CSP Path from Base [ReferredSettingInformationList <IMicrosoftGraphDeviceManagementConfigurationReferredSettingInformation[]>]: List of referred setting information. [SettingDefinitionId <String>]: Setting definition id that is being referred to a setting. Applicable for reusable setting. [RiskLevel <DeviceManagementConfigurationSettingRiskLevel?>]: Setting RiskLevel [RootDefinitionId <String>]: Root setting definition if the setting is a child setting. [SettingUsage <DeviceManagementConfigurationSettingUsage?>]: Supported setting types [UxBehavior <DeviceManagementConfigurationControlType?>]: Setting control type representation in the UX [Version <String>]: Item Version [Visibility <DeviceManagementConfigurationSettingVisibility?>]: Supported setting types [SettingInstanceTemplate <IMicrosoftGraphDeviceManagementConfigurationSettingInstanceTemplate>]: Setting Instance Template [(Any) <Object>]: This indicates any property can be added to this object. [IsRequired <Boolean?>]: Indicates if a policy must specify this setting. [SettingDefinitionId <String>]: Setting Definition Id [SettingInstanceTemplateId <String>]: Setting Instance Template Id [Technologies <DeviceManagementConfigurationTechnologies?>]: Describes which technology this setting can be deployed with [TemplateFamily <DeviceManagementConfigurationTemplateFamily?>]: Describes the TemplateFamily for the Template entity

SETTINGTEMPLATES <IMicrosoftGraphDeviceManagementConfigurationSettingTemplate[]>: Setting templates [Id <String>]: The unique identifier for an entity. Read-only. [SettingDefinitions <IMicrosoftGraphDeviceManagementConfigurationSettingDefinition[]>]: List of related Setting Definitions [Id <String>]: The unique identifier for an entity. Read-only. [AccessTypes <String>]: deviceManagementConfigurationSettingAccessTypes [Applicability <IMicrosoftGraphDeviceManagementConfigurationSettingApplicability>]: deviceManagementConfigurationSettingApplicability [(Any) <Object>]: This indicates any property can be added to this object. [Description <String>]: description of the setting [DeviceMode <DeviceManagementConfigurationDeviceMode?>]: Describes applicability for the mode the device is in [Platform <DeviceManagementConfigurationPlatforms?>]: Supported platform types. [Technologies <DeviceManagementConfigurationTechnologies?>]: Describes which technology this setting can be deployed with [BaseUri <String>]: Base CSP Path [CategoryId <String>]: Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) [Description <String>]: Description of the item [DisplayName <String>]: Display name of the item [HelpText <String>]: Help text of the item [InfoUrls <String[]>]: List of links more info for the setting can be found at [Keywords <String[]>]: Tokens which to search settings on [Name <String>]: Name of the item [Occurrence <IMicrosoftGraphDeviceManagementConfigurationSettingOccurrence>]: deviceManagementConfigurationSettingOccurrence [(Any) <Object>]: This indicates any property can be added to this object. [MaxDeviceOccurrence <Int32?>]: Maximum times setting can be set on device. [MinDeviceOccurrence <Int32?>]: Minimum times setting can be set on device. A MinDeviceOccurrence of 0 means setting is optional [OffsetUri <String>]: Offset CSP Path from Base [ReferredSettingInformationList <IMicrosoftGraphDeviceManagementConfigurationReferredSettingInformation[]>]: List of referred setting information. [SettingDefinitionId <String>]: Setting definition id that is being referred to a setting. Applicable for reusable setting. [RiskLevel <DeviceManagementConfigurationSettingRiskLevel?>]: Setting RiskLevel [RootDefinitionId <String>]: Root setting definition if the setting is a child setting. [SettingUsage <DeviceManagementConfigurationSettingUsage?>]: Supported setting types [UxBehavior <DeviceManagementConfigurationControlType?>]: Setting control type representation in the UX [Version <String>]: Item Version [Visibility <DeviceManagementConfigurationSettingVisibility?>]: Supported setting types [SettingInstanceTemplate <IMicrosoftGraphDeviceManagementConfigurationSettingInstanceTemplate>]: Setting Instance Template [(Any) <Object>]: This indicates any property can be added to this object. [IsRequired <Boolean?>]: Indicates if a policy must specify this setting. [SettingDefinitionId <String>]: Setting Definition Id [SettingInstanceTemplateId <String>]: Setting Instance Template Id