Get-ProtectionAlert

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-ProtectionAlert cmdlet to view alert policies 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-ProtectionAlert
   [[-Identity] <ComplianceRuleIdParameter>]
   [<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-ProtectionAlert | Format-List Name,Category,Comment,NotifyUser

This example returns a summary list of all alert policies.

Example 2

Get-ProtectionAlert -Identity "Malicious Email Campaign"

This example returns detailed information about the alert policy named Malicious Email Campaign.

Parameters

-Identity

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

  • Name

  • Distinguished name (DN)

  • GUID

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

Inputs

Outputs