Export (0) Print
Expand All
Expand Minimize

Get-CMAlert

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Get-CMAlert

Gets Configuration Manager alerts.

Syntax

Parameter Set: SearchByName
Get-CMAlert [-Name <String> ] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Get-CMAlert -Id <String> [ <CommonParameters>]




Detailed Description

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

Parameters

-Id<String>

Specifies an alert identifier. You can obtain the identifier of an alert by using the Get-Alert cmdlet.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies an alert name. You can obtain the name of an alert by using Get-CMAlert.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Get all alerts

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


PS C:\> Get-CMAlert

Example 2: Get alerts by using name

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


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

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft