Get-DPMAlert
Gets alerts for a DPM server.
Syntax
Default (Default)
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.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-DPMServerName
Specifies the name of a DPM server for which this cmdlet gets alerts.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 1 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-IncludeAlerts
Specifies which alert to display.
The acceptable values for this parameter are:
- AllActive
- FromContext
Parameter properties
| Type: | IncludeAlertsType |
| Default value: | None |
| Accepted values: | AllActive, FromContext |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-IncludeInactiveAlerts
Indicates that the cmdlet displays inactive alerts.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
DPMServerName
Specifies the name of a DPM server.