Get-DPMAlert
Gets alerts for a DPM server.
Syntax
Get-DPMAlert
[[-DPMServerName] <String>]
[-IncludeInactiveAlerts]
[-Async]
[-IncludeAlerts <IncludeAlertsType>]
[<CommonParameters>]
Description
The Get-DPMAlert cmdlet gets alerts for a System Center - 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 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DPMServerName
Specifies the name of a DPM server for which this cmdlet gets alerts.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-IncludeAlerts
Specifies which alert to display.
The acceptable values for this parameter are:
- AllActive
- FromContext
Type: | IncludeAlertsType |
Accepted values: | AllActive, FromContext |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IncludeInactiveAlerts
Indicates that the cmdlet displays inactive alerts.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
DPMServerName
Specifies the name of a DPM server.