CmdID

CmdID / PowerShell / Cmdlets / New

New-MgDeviceManagementManagedDeviceCompliancePolicyState

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

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

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

Parameters

21 in the Microsoft Graph PowerShell reference
Show its 21 parameters
-AdditionalPropertiesAdditional Parameters
-BodyParameterDevice Compliance Policy State for a given device.
-BreakWait for .NET debugger to attach
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-DisplayNameThe name of the policy for this policyBase
-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.
-InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
-ManagedDeviceIdThe unique identifier of managedDevice
-PlatformTypeSupported platform types for policies.
-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.
-SettingCountCount of how many setting a policy holds
-SettingStatesTo construct, see NOTES section for SETTINGSTATES properties and create a hash table.
-StatecomplianceStatus
-VersionThe version of the policy
-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.