Get-DPMAlert
Get-DPMAlert
Gets alerts for a DPM server.
Syntax
Parameter Set: Default
Get-DPMAlert [[-DPMServerName] <String> ] [-Async] [-IncludeAlerts <IncludeAlertsType> {AllActive | FromContext} ] [-IncludeInactiveAlerts] [ <CommonParameters>]
Detailed Description
The Get-DPMAlert cmdlet gets alerts for a System Center 2012 – Data Protection Manager (DPM) server.
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.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-DPMServerName<String>
Specifies the name of a DPM server for which this cmdlet gets alerts.
Aliases |
none |
Required? |
false |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-IncludeAlerts<IncludeAlertsType>
Specifies which alert to display. Valid values are:
-- AllActive
-- FromContext
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-IncludeInactiveAlerts
Indicates that the cmdlet displays inactive alerts.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
DPMServerName
Specifies the name of a DPM server.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Get all active alerts for a specified server
This command gets alerts for the DPM server named DPMServer073. The command includes all active alerts.
PS C:\> Get-DPMAlert -DPMServerName DPMServer073 -IncudeAlerts AllActive