< Back
Remove-DeviceManagement_DeviceCompliancePolicies
Post
NAME Remove-DeviceManagement_DeviceCompliancePolicies
SYNOPSIS
Removes a "microsoft.graph.deviceCompliancePolicy" object.
SYNTAX
Remove-DeviceManagement_DeviceCompliancePolicies -deviceCompliancePolicyId <string> [<CommonParameters>]
DESCRIPTION
Removes a "microsoft.graph.deviceCompliancePolicy" object from the "deviceCompliancePolicies" collection.
The device compliance policies.
Graph Call: DELETE ~/deviceManagement/deviceCompliancePolicies/deviceCompliancePolicyId
PARAMETERS
-deviceCompliancePolicyId <string>
The ID for a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" 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.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection.
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK
SYNOPSIS
Removes a "microsoft.graph.deviceCompliancePolicy" object.
SYNTAX
Remove-DeviceManagement_DeviceCompliancePolicies -deviceCompliancePolicyId <string> [<CommonParameters>]
DESCRIPTION
Removes a "microsoft.graph.deviceCompliancePolicy" object from the "deviceCompliancePolicies" collection.
The device compliance policies.
Graph Call: DELETE ~/deviceManagement/deviceCompliancePolicies/deviceCompliancePolicyId
PARAMETERS
-deviceCompliancePolicyId <string>
The ID for a "microsoft.graph.deviceCompliancePolicy" object in the "deviceCompliancePolicies" 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.deviceCompliancePolicy" object in the "deviceCompliancePolicies" collection.
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK