Skip to content

Show-EntraAuditLog

SYNOPSIS

Shows Entra audit logs in terminal, or saves as an excel spreadsheet.

SYNTAX

Objects (Default)

Show-EntraAuditLog [-Log] <System.Collections.Generic.List`1[System.Management.Automation.PSObject]>
 [-TableStyle <String>] [-Font <String>] [-Open <Boolean>] [-Cached] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

Xml

Show-EntraAuditLog -XmlPath <String> [-TableStyle <String>] [-Font <String>] [-Open <Boolean>] [-Cached]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

PARAMETERS

-Log

{{ Fill Log Description }}

Type: System.Collections.Generic.List`1[System.Management.Automation.PSObject]
Parameter Sets: Objects
Aliases: Logs

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-XmlPath

{{ Fill XmlPath Description }}

Type: String
Parameter Sets: Xml
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-TableStyle

{{ Fill TableStyle Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: $Global:IRT_Config.ExcelTableStyle
Accept pipeline input: False
Accept wildcard characters: False

-Font

{{ Fill Font Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: $Global:IRT_Config.ExcelFont
Accept pipeline input: False
Accept wildcard characters: False

-Open

{{ Fill Open Description }}

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: True
Accept pipeline input: False
Accept wildcard characters: False

-Cached

{{ Fill Cached Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Version: 1.2.1 1.2.1 - Updates to use new get-graphobject functions. 1.2.0 - Many small updates to standardize across IR functions. Updated to readable date format.