New-MgBetaDeviceManagementTemplate

Create new navigation property to templates for deviceManagement

Syntax

New-MgBetaDeviceManagementTemplate
   [-ResponseHeadersVariable <String>]
   [-AdditionalProperties <Hashtable>]
   [-Categories <IMicrosoftGraphDeviceManagementTemplateSettingCategory[]>]
   [-Description <String>]
   [-DisplayName <String>]
   [-Id <String>]
   [-IntentCount <Int32>]
   [-IsDeprecated]
   [-MigratableTo <IMicrosoftGraphDeviceManagementTemplate[]>]
   [-PlatformType <PolicyPlatformType>]
   [-PublishedDateTime <DateTime>]
   [-Settings <IMicrosoftGraphDeviceManagementSettingInstance[]>]
   [-TemplateSubtype <DeviceManagementTemplateSubtype>]
   [-TemplateType <DeviceManagementTemplateType>]
   [-VersionInfo <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgBetaDeviceManagementTemplate
   -BodyParameter <IMicrosoftGraphDeviceManagementTemplate>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Create new navigation property to templates for deviceManagement

Parameters

-AdditionalProperties

Additional Parameters

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

-BodyParameter

Entity that represents a defined collection of device settings To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Type:IMicrosoftGraphDeviceManagementTemplate
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Categories

Collection of setting categories within the template To construct, see NOTES section for CATEGORIES properties and create a hash table.

Type:IMicrosoftGraphDeviceManagementTemplateSettingCategory[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Description

The template's description

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

-DisplayName

The template's display name

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

-Headers

Optional headers that will be added to the request.

Type:IDictionary
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Id

The unique identifier for an entity. Read-only.

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

-IntentCount

Number of Intents created from this template.

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

-IsDeprecated

The template is deprecated or not. Intents cannot be created from a deprecated template.

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

-MigratableTo

Collection of templates this template can migrate to To construct, see NOTES section for MIGRATABLETO properties and create a hash table.

Type:IMicrosoftGraphDeviceManagementTemplate[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PlatformType

Supported platform types for policies.

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

-ProgressAction

{{ Fill ProgressAction Description }}

Type:ActionPreference
Aliases:proga
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PublishedDateTime

When the template was published

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

-ResponseHeadersVariable

Optional Response Headers Variable.

Type:String
Aliases:RHV
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Settings

Collection of all settings this template has To construct, see NOTES section for SETTINGS properties and create a hash table.

Type:IMicrosoftGraphDeviceManagementSettingInstance[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TemplateSubtype

Template subtype

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

-TemplateType

Template type

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

-VersionInfo

The template's version information

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

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphDeviceManagementTemplate

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphDeviceManagementTemplate

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 <IMicrosoftGraphDeviceManagementTemplate>: Entity that represents a defined collection of device settings

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [Categories <IMicrosoftGraphDeviceManagementTemplateSettingCategory- []>]: Collection of setting categories within the template
    • [DisplayName <String>]: The category name
    • [HasRequiredSetting <Boolean?>]: The category contains top level required setting
    • [SettingDefinitions <IMicrosoftGraphDeviceManagementSettingDefinition- []>]: The setting definitions this category contains
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [Constraints <IMicrosoftGraphDeviceManagementConstraint- []>]: Collection of constraints for the setting value
      • [Dependencies <IMicrosoftGraphDeviceManagementSettingDependency- []>]: Collection of dependencies on other settings
        • [Constraints <IMicrosoftGraphDeviceManagementConstraint- []>]: Collection of constraints for the dependency setting value
        • [DefinitionId <String>]: The setting definition ID of the setting depended on
      • [Description <String>]: The setting's description
      • [DisplayName <String>]: The setting's display name
      • [DocumentationUrl <String>]: Url to setting documentation
      • [HeaderSubtitle <String>]: subtitle of the setting header for more details about the category/section
      • [HeaderTitle <String>]: title of the setting header represents a category/section of a setting/settings
      • [IsTopLevel <Boolean?>]: If the setting is top level, it can be configured without the need to be wrapped in a collection or complex setting
      • [Keywords <String- []>]: Keywords associated with the setting
      • [PlaceholderText <String>]: Placeholder text as an example of valid input
      • [ValueType <DeviceManangementIntentValueType?>]: deviceManangementIntentValueType
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [RecommendedSettings <IMicrosoftGraphDeviceManagementSettingInstance- []>]: The settings this category contains
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [DefinitionId <String>]: The ID of the setting definition for this instance
      • [ValueJson <String>]: JSON representation of the value
  • [Description <String>]: The template's description
  • [DisplayName <String>]: The template's display name
  • [IntentCount <Int32?>]: Number of Intents created from this template.
  • [IsDeprecated <Boolean?>]: The template is deprecated or not. Intents cannot be created from a deprecated template.
  • [MigratableTo <IMicrosoftGraphDeviceManagementTemplate- []>]: Collection of templates this template can migrate to
  • [PlatformType <PolicyPlatformType?>]: Supported platform types for policies.
  • [PublishedDateTime <DateTime?>]: When the template was published
  • [Settings <IMicrosoftGraphDeviceManagementSettingInstance- []>]: Collection of all settings this template has
  • [TemplateSubtype <DeviceManagementTemplateSubtype?>]: Template subtype
  • [TemplateType <DeviceManagementTemplateType?>]: Template type
  • [VersionInfo <String>]: The template's version information

CATEGORIES <IMicrosoftGraphDeviceManagementTemplateSettingCategory- []>: Collection of setting categories within the template

  • [DisplayName <String>]: The category name
  • [HasRequiredSetting <Boolean?>]: The category contains top level required setting
  • [SettingDefinitions <IMicrosoftGraphDeviceManagementSettingDefinition- []>]: The setting definitions this category contains
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [Constraints <IMicrosoftGraphDeviceManagementConstraint- []>]: Collection of constraints for the setting value
    • [Dependencies <IMicrosoftGraphDeviceManagementSettingDependency- []>]: Collection of dependencies on other settings
      • [Constraints <IMicrosoftGraphDeviceManagementConstraint- []>]: Collection of constraints for the dependency setting value
      • [DefinitionId <String>]: The setting definition ID of the setting depended on
    • [Description <String>]: The setting's description
    • [DisplayName <String>]: The setting's display name
    • [DocumentationUrl <String>]: Url to setting documentation
    • [HeaderSubtitle <String>]: subtitle of the setting header for more details about the category/section
    • [HeaderTitle <String>]: title of the setting header represents a category/section of a setting/settings
    • [IsTopLevel <Boolean?>]: If the setting is top level, it can be configured without the need to be wrapped in a collection or complex setting
    • [Keywords <String- []>]: Keywords associated with the setting
    • [PlaceholderText <String>]: Placeholder text as an example of valid input
    • [ValueType <DeviceManangementIntentValueType?>]: deviceManangementIntentValueType
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [RecommendedSettings <IMicrosoftGraphDeviceManagementSettingInstance- []>]: The settings this category contains
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [DefinitionId <String>]: The ID of the setting definition for this instance
    • [ValueJson <String>]: JSON representation of the value

MIGRATABLETO <IMicrosoftGraphDeviceManagementTemplate- []>: Collection of templates this template can migrate to

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [Categories <IMicrosoftGraphDeviceManagementTemplateSettingCategory- []>]: Collection of setting categories within the template
    • [DisplayName <String>]: The category name
    • [HasRequiredSetting <Boolean?>]: The category contains top level required setting
    • [SettingDefinitions <IMicrosoftGraphDeviceManagementSettingDefinition- []>]: The setting definitions this category contains
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [Constraints <IMicrosoftGraphDeviceManagementConstraint- []>]: Collection of constraints for the setting value
      • [Dependencies <IMicrosoftGraphDeviceManagementSettingDependency- []>]: Collection of dependencies on other settings
        • [Constraints <IMicrosoftGraphDeviceManagementConstraint- []>]: Collection of constraints for the dependency setting value
        • [DefinitionId <String>]: The setting definition ID of the setting depended on
      • [Description <String>]: The setting's description
      • [DisplayName <String>]: The setting's display name
      • [DocumentationUrl <String>]: Url to setting documentation
      • [HeaderSubtitle <String>]: subtitle of the setting header for more details about the category/section
      • [HeaderTitle <String>]: title of the setting header represents a category/section of a setting/settings
      • [IsTopLevel <Boolean?>]: If the setting is top level, it can be configured without the need to be wrapped in a collection or complex setting
      • [Keywords <String- []>]: Keywords associated with the setting
      • [PlaceholderText <String>]: Placeholder text as an example of valid input
      • [ValueType <DeviceManangementIntentValueType?>]: deviceManangementIntentValueType
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [RecommendedSettings <IMicrosoftGraphDeviceManagementSettingInstance- []>]: The settings this category contains
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [DefinitionId <String>]: The ID of the setting definition for this instance
      • [ValueJson <String>]: JSON representation of the value
  • [Description <String>]: The template's description
  • [DisplayName <String>]: The template's display name
  • [IntentCount <Int32?>]: Number of Intents created from this template.
  • [IsDeprecated <Boolean?>]: The template is deprecated or not. Intents cannot be created from a deprecated template.
  • [MigratableTo <IMicrosoftGraphDeviceManagementTemplate- []>]: Collection of templates this template can migrate to
  • [PlatformType <PolicyPlatformType?>]: Supported platform types for policies.
  • [PublishedDateTime <DateTime?>]: When the template was published
  • [Settings <IMicrosoftGraphDeviceManagementSettingInstance- []>]: Collection of all settings this template has
  • [TemplateSubtype <DeviceManagementTemplateSubtype?>]: Template subtype
  • [TemplateType <DeviceManagementTemplateType?>]: Template type
  • [VersionInfo <String>]: The template's version information

SETTINGS <IMicrosoftGraphDeviceManagementSettingInstance- []>: Collection of all settings this template has

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [DefinitionId <String>]: The ID of the setting definition for this instance
  • [ValueJson <String>]: JSON representation of the value