Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.1 KB

Get-CIPPIntunePolicy.md

File metadata and controls

28 lines (23 loc) · 1.1 KB

Get-CIPPIntunePolicy

SYNOPSIS

Retrieves Intune policies for a specific customer.

DESCRIPTION

The Get-CIPPIntunePolicy function retrieves Intune policies for a specific customer based on the provided parameters. It uses the Invoke-CIPPRestMethod function to make the request to the API.

PARAMETERS

-CustomerTenantID

Foo Foo
The ID of the customer's tenant.

-PolicyID

Foo Foo
The ID of the policy. This parameter is optional.

-Urlname

Foo Foo
The URL name. This parameter is optional.

EXAMPLE 1

PS > Get-CIPPIntunePolicy -CustomerTenantID "7ced1621-b8f7-4231-868c-bc6b1a2f1778" -PolicyID "policy123" -Urlname "example"

EXAMPLE 2

PS > Get-CIPPIntunePolicy -CustomerTenantID "7ced1621-b8f7-4231-868c-bc6b1a2f1778"