Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.19 KB

File metadata and controls

25 lines (21 loc) · 1.19 KB

Get-CIPPIntuneScript

SYNOPSIS

Retrieves Intune scripts from Microsoft Endpoint Manager.

DESCRIPTION

The Get-CIPPIntuneScript function retrieves Intune scripts (including PowerShell, shell scripts, remediation scripts, and Linux scripts) from Microsoft Endpoint Manager for a specified tenant. The function retrieves all script types in a single operation.

PARAMETERS

-CustomerTenantID

Foo Foo
Specifies the ID of the customer tenant. This parameter is mandatory.

-UseReportDB

Foo Foo Foo
When specified, retrieves Intune scripts from the CIPP report database cache instead of live Microsoft Graph data. Use 'AllTenants' with this switch for cached cross-tenant data.

EXAMPLE 1

PS > Get-CIPPIntuneScript -CustomerTenantID "contoso.onmicrosoft.com"

EXAMPLE 2

PS > Get-CIPPIntuneScript -CustomerTenantID "contoso.onmicrosoft.com" -UseReportDB