CmdID / PowerShell / Cmdlets / Update
Update-MgDeviceManagementDeviceCompliancePolicy
Update the navigation property deviceCompliancePolicies in deviceManagement Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 27 parameters Its page in the reference
Parameters
Show its 27 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.-DeviceCompliancePolicyIdThe unique identifier of deviceCompliancePolicy-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.-InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.-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.