Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 943 Bytes

Get-CIPPLogs.md

File metadata and controls

24 lines (20 loc) · 943 Bytes

Get-CIPPLogs

SYNOPSIS

Retrieves CIPP logs from the API.

DESCRIPTION

The Get-CIPPLogs function retrieves logs from the CIPP API by invoking the "/api/ListLogs" endpoint.

PARAMETERS

-Severity

Foo Foo
Accepts any of: debug,info,warn,error,critical,alert. If DateFilter is not specified alongside, it assumes current date in local time.

-DateFilter

Foo Foo ![Foo](https://img.shields.io/badge/DefaultValue-(Get-Date -Format 'yyyyMMdd')-Blue?color=5547a8)
Date in "yyyyMMdd" format. This should be in the time zone of your CIPP instance (default UTC).

EXAMPLE 1

PS > Get-CIPPLogs

EXAMPLE 2

PS > Get-CIPPLogs -Severity "Alert" -DateFilter "20240711"