Share via


New-MgBetaDeviceManagementSettingDefinition

Create new navigation property to settingDefinitions for deviceManagement

Syntax

New-MgBetaDeviceManagementSettingDefinition
   [-ResponseHeadersVariable <String>]
   [-AdditionalProperties <Hashtable>]
   [-Constraints <IMicrosoftGraphDeviceManagementConstraint[]>]
   [-Dependencies <IMicrosoftGraphDeviceManagementSettingDependency[]>]
   [-Description <String>]
   [-DisplayName <String>]
   [-DocumentationUrl <String>]
   [-HeaderSubtitle <String>]
   [-HeaderTitle <String>]
   [-Id <String>]
   [-IsTopLevel]
   [-Keywords <String[]>]
   [-PlaceholderText <String>]
   [-ValueType <DeviceManangementIntentValueType>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgBetaDeviceManagementSettingDefinition
   -BodyParameter <IMicrosoftGraphDeviceManagementSettingDefinition>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Create new navigation property to settingDefinitions 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

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

-BodyParameter

Entity representing the defintion for a given setting To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Type:IMicrosoftGraphDeviceManagementSettingDefinition
Position:Named
Default value:None
Required:True
Accept pipeline input:True
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

-Constraints

Collection of constraints for the setting value

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

-Dependencies

Collection of dependencies on other settings To construct, see NOTES section for DEPENDENCIES properties and create a hash table.

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

-Description

The setting's description

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

-DisplayName

The setting's display name

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

-DocumentationUrl

Url to setting documentation

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

-HeaderSubtitle

subtitle of the setting header for more details about the category/section

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

-HeaderTitle

title of the setting header represents a category/section of a setting/settings

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
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

-IsTopLevel

If the setting is top level, it can be configured without the need to be wrapped in a collection or complex setting

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

-Keywords

Keywords associated with the setting

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

-PlaceholderText

Placeholder text as an example of valid input

Type:String
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

-ResponseHeadersVariable

Optional Response Headers Variable.

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

-ValueType

deviceManangementIntentValueType

Type:DeviceManangementIntentValueType
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.IMicrosoftGraphDeviceManagementSettingDefinition

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphDeviceManagementSettingDefinition

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 <IMicrosoftGraphDeviceManagementSettingDefinition>: Entity representing the defintion for a given setting

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [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

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