Freigeben über


Get-WebApplicationMonitoringStatus

Applies To: System Center 2012 R2 Operations Manager

Get-WebApplicationMonitoringStatus

Gets the monitoring status of all monitored web applications.

Syntax

Get-WebApplicationMonitoringStatus [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Get-WebApplicationMonitoringStatus cmdlet gets the monitoring status of all monitored web applications. This cmdlet returns a list of monitored application objects that contains the name of the web application, the name of the application pool, and the monitoring mode.

Parameters

-Confirm

Prompts you for confirmation before executing the command.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.

Required?

false

Position?

named

Default Value

false

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.

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 the status of monitored applications

This command gets the monitoring status of all monitored applications.

C:\PS>Get-WebApplicationMonitoringStatus
WebApplication               AppPool            MonitoringMode

--------------               -------            -------------- 

Default Web Site/WebApp1     DefaultAppPool     Monitor

Default Web Site/WebApp2     .NET v4.5          Trace

Start-WebApplicationMonitoring

Stop-WebApplicationMonitoring

Checkpoint-WebApplicationMonitoring