< Back
Get-DeviceManagement_DeviceCompliancePolicies
Post
NAME Get-DeviceManagement_DeviceCompliancePolicies
SYNOPSIS
Retrieves "microsoft.graph.deviceCompliancePolicy" objects.
SYNTAX
Get-DeviceManagement_DeviceCompliancePolicies -deviceCompliancePolicyId <string> [-Expand <string[]>] [-Select
<string[]>] [<CommonParameters>]
Get-DeviceManagement_DeviceCompliancePolicies [-Expand <string[]>] [-Filter <string>] [-MaxPageSize <int>]
[-OrderBy <string[]>] [-Search <string>] [-Select <string[]>] [-Skip <int>] [-Top <int>] [<CommonParameters>]
DESCRIPTION
Retrieves "microsoft.graph.deviceCompliancePolicy" objects in the "deviceCompliancePolicies" collection.
The device compliance policies.
Graph call: GET ~/deviceManagement/deviceCompliancePolicies
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
-Filter <string>
The "$filter" query option value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Search <string>
The "$search" query option value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Skip <int>
The "$skip" query option value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Top <int>
The "$top" query option value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-First <int>
The "$top" query option value.
This is an alias of the Top parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-MaxPageSize <int>
The "Prefer: odata.maxpagesize" header value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Select <string[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Expand <string[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OrderBy <string[]>
Required? false
Position? named
Default value
Accept pipeline input? false
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
Retrieves "microsoft.graph.deviceCompliancePolicy" objects.
SYNTAX
Get-DeviceManagement_DeviceCompliancePolicies -deviceCompliancePolicyId <string> [-Expand <string[]>] [-Select
<string[]>] [<CommonParameters>]
Get-DeviceManagement_DeviceCompliancePolicies [-Expand <string[]>] [-Filter <string>] [-MaxPageSize <int>]
[-OrderBy <string[]>] [-Search <string>] [-Select <string[]>] [-Skip <int>] [-Top <int>] [<CommonParameters>]
DESCRIPTION
Retrieves "microsoft.graph.deviceCompliancePolicy" objects in the "deviceCompliancePolicies" collection.
The device compliance policies.
Graph call: GET ~/deviceManagement/deviceCompliancePolicies
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
-Filter <string>
The "$filter" query option value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Search <string>
The "$search" query option value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Skip <int>
The "$skip" query option value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Top <int>
The "$top" query option value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-First <int>
The "$top" query option value.
This is an alias of the Top parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-MaxPageSize <int>
The "Prefer: odata.maxpagesize" header value.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Select <string[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Expand <string[]>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-OrderBy <string[]>
Required? false
Position? named
Default value
Accept pipeline input? false
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