Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.32 KB

Get-CIPPFunctionStats.md

File metadata and controls

28 lines (23 loc) · 1.32 KB

Get-CIPPFunctionStats

SYNOPSIS

Gets CIPP function statistics.

DESCRIPTION

The Get-CIPPFunctionStats function retrieves statistical information about CIPP function usage and performance.

PARAMETERS

-CustomerTenantID

Foo Foo
Specifies the ID of the customer tenant to filter results for. Use 'AllTenants' to view all tenants.

-FunctionType

Foo Foo Foo
Specifies the type of functions to retrieve stats for. Defaults to 'Durable'.

-LookbackPeriod

Foo Foo
A timespan object specifying how far back to retrieve stats from. Will be converted to appropriate interval (days, hours, or minutes).

EXAMPLE 1

PS > Get-CIPPFunctionStats -CustomerTenantID "AllTenants" -FunctionType "Durable" -LookbackPeriod ([TimeSpan]::FromDays(7))

EXAMPLE 2

PS > Get-CIPPFunctionStats -CustomerTenantID "12345678-1234-1234-1234-1234567890AB" -LookbackPeriod ([TimeSpan]::FromHours(24))