Get-CMAlert

SYNOPSIS

Gets Configuration Manager alerts.

SYNTAX

SearchByName (Default)

Get-CMAlert [[-Name] <String>] [-TypeInstanceId <String>] [-TypeId <Int32>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [<CommonParameters>]

SearchByIdMandatory

Get-CMAlert -Id <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]

DESCRIPTION

The Get-CMAlert cmdlet gets one or more Microsoft System Center Configuration Manager alerts. You can get a specific alert by specifying the name or ID of the alert.

Configuration Manager alerts are generated by some operations when a specific condition occurs. Typically, alerts are generated when an error occurs that you must resolve. Alerts might be generated to warn you that a condition exists so that you can continue to monitor the situation.

EXAMPLES

Example 1: Get all alerts

PS C:\> Get-CMAlert

This command gets all alerts that System Center Configuration Manager manages.

Example 2: Get alerts by using name

PS C:\> Get-CMAlert -Name "D*"

This command gets all alerts that have a name that begins with the letter D.

PARAMETERS

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

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

-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

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

-Id

Specifies an alert ID.

Type: String
Parameter Sets: SearchByIdMandatory
Aliases: 

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

-Name

Specifies an alert name.

Type: String
Parameter Sets: SearchByName
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-TypeId

Type: Int32
Parameter Sets: SearchByName
Aliases: 

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

-TypeInstanceId

Type: String
Parameter Sets: SearchByName
Aliases: 

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

Enable-CMAlert

Remove-CMAlert

Set-CMAlert

Suspend-CMAlert

Disable-CMAlert