CmdID

CmdID / PowerShell / Cmdlets / New

New-MgDeviceManagementDeviceCompliancePolicy

Create new navigation property to deviceCompliancePolicies for deviceManagement Microsoft Graph PowerShell reference

From the Microsoft Graph PowerShell reference 25 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

25 in the Microsoft Graph PowerShell reference
Show its 25 parameters
-AdditionalPropertiesAdditional Parameters
-AssignmentsThe collection of assignments for this compliance policy.
-BodyParameterThis is the base class for Compliance policy.
-BreakWait for .NET debugger to attach
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-CreatedDateTimeDateTime the object was created.
-DescriptionAdmin provided description of the Device Configuration.
-DeviceSettingStateSummariesCompliance Setting State Device Summary To construct, see NOTES section for DEVICESETTINGSTATESUMMARIES properties and create a hash table.
-DeviceStatusesList of DeviceComplianceDeviceStatus.
-DeviceStatusOverviewdeviceComplianceDeviceOverview To construct, see NOTES section for DEVICESTATUSOVERVIEW properties and create a hash table.
-DisplayNameAdmin provided name of the device configuration.
-HeadersOptional headers that will be added to the request.
-HttpPipelineAppendSendAsync Pipeline Steps to be appended to the front of the pipeline
-HttpPipelinePrependSendAsync Pipeline Steps to be prepended to the front of the pipeline
-IdThe unique identifier for an entity.
-LastModifiedDateTimeDateTime the object was last modified.
-ProxyThe URI for the proxy server to use
-ProxyCredentialCredentials for a proxy server to use for the remote call
-ProxyUseDefaultCredentialsUse the default credentials for the proxy
-ResponseHeadersVariable, -RHVOptional Response Headers Variable.
-ScheduledActionsForRuleThe list of scheduled action per rule for this compliance policy.
-UserStatusesList of DeviceComplianceUserStatus.
-UserStatusOverviewdeviceComplianceUserOverview To construct, see NOTES section for USERSTATUSOVERVIEW properties and create a hash table.
-VersionVersion of the device configuration.
-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.