Get-DPMAlert

Gets alerts for a DPM server.

Syntax

Get-DPMAlert [[-DPMServerName] <String>] [-Async] [-IncludeAlerts <IncludeAlertsType>] [-IncludeInactiveAlerts]
 [<CommonParameters>]

Description

The Get-DPMAlert cmdlet gets alerts for a System Center 2016 - Data Protection Manager (DPM) server.

Examples

Example 1: Get all active alerts for a specified server

PS C:\>Get-DPMAlert -DPMServerName DPMServer073 -IncudeAlerts AllActive
This command gets alerts for the DPM server named DPMServer073. The command includes all active alerts.

Parameters

-Async

Indicates that the command runs asynchronously.
When you run a command asynchronously, the command prompt returns immediately even if the job takes an extended time to finish.

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

-DPMServerName

Specifies the name of a DPM server for which this cmdlet gets alerts.

Type:String
Required:False
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

-IncludeAlerts

Specifies which alert to display.

The acceptable values for this parameter are:

- AllActive
- FromContext

Type:IncludeAlertsType
Parameter Sets:AllActive,FromContext
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-IncludeInactiveAlerts

Indicates that the cmdlet displays inactive alerts.

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

Inputs

DPMServerName

Specifies the name of a DPM server.