< Back

Remove-DeviceManagement_ManagedDevices_DeviceCompliancePolicyStates

Sat Jan 18, 2020 2:04 pm

NAME Remove-DeviceManagement_ManagedDevices_DeviceCompliancePolicyStates



SYNOPSIS

Removes a "microsoft.graph.deviceCompliancePolicyState" object.





SYNTAX

Remove-DeviceManagement_ManagedDevices_DeviceCompliancePolicyStates -deviceCompliancePolicyStateId <string>

-managedDeviceId <string> [<CommonParameters>]





DESCRIPTION

Removes a "microsoft.graph.deviceCompliancePolicyState" object from the "deviceCompliancePolicyStates" collection.



Device compliance policy states for this device.



Graph Call: DELETE

~/deviceManagement/managedDevices/{managedDeviceId}/deviceCompliancePolicyStates/deviceCompliancePolicyStateId





PARAMETERS

-deviceCompliancePolicyStateId <string>

The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates"

collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-managedDeviceId <string>

A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String

The ID for a "microsoft.graph.deviceCompliancePolicyState" object in the "deviceCompliancePolicyStates"

collection.



System.String

A required ID for referencing a "microsoft.graph.managedDevice" object in the "managedDevices" collection.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK