Get-ComplianceRetentionEvent

This cmdlet is available only in Security & Compliance Center PowerShell. For more information, see Security & Compliance Center PowerShell (https://docs.microsoft.com/powershell/exchange/scc-powershell).

Use the Get-ComplianceRetentionEvent cmdlet to view compliance retention events in the Security & Compliance Center.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax (https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).

Syntax

Get-ComplianceRetentionEvent
   [-Identity <PolicyIdParameter>]
   [<CommonParameters>]

Description

You need to be assigned permissions in the Security & Compliance Center before you can use this cmdlet. For more information, see Permissions in the Security & Compliance Center.

Examples

Example 1

Get-ComplianceRetentionEvent | Format-Table Name,Description

The example returns a summary list of all compliance retention events.

Example 2

Get-ComplianceRetentionEvent -Identity "Case 1234"

This example returns detailed information about the compliance retention event named Case 1234.

Parameters

-Identity

The Identity parameter specifies the compliance retention event that you want to view. You can use any value that uniquely identifies the event. For example:

  • Name

  • Distinguished name (DN)

  • GUID

Type:PolicyIdParameter
Position:1
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Office 365 Security & Compliance Center

Inputs

Outputs