Stop-WebApplicationMonitoring

Stop-WebApplicationMonitoring

Stops monitoring an Internet Information Services (IIS) web application.

構文

Parameter Set: All
Stop-WebApplicationMonitoring [-All] [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: ApplicationName
Stop-WebApplicationMonitoring [-Name] <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Stop-WebApplicationMonitoring cmdlet stops monitoring an IIS web application and creates a Visual Studio IntelliTrace file with data collected while monitoring.

If the application is being monitored in trace mode, Stop-WebApplicationMonitoring stops monitoring all applications in the application pool that contains the specified application. To see the monitoring mode for an application, use the Get-WebApplicationMonitoringStatus cmdlet.

Stop-WebApplicationMonitoring must be run with sufficient permissions to recycle the application pool in which the web application is running. By default, this requires administrator permissions.

パラメーター

-All

Stops monitoring all web applications.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

true (ByPropertyName)

ワイルドカード文字を許可する

false

-Force

Stops monitoring an application without prompting for confirmation. If the application is being monitored in trace mode, by default, Stop-WebApplicationMonitoring confirms that you want to stop monitoring for all applications in the application pool that contains the specified application.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Name<String>

Specifies the name of the web application to stop monitoring. This name is listed in IIS Manager. Valid values for this parameter are:

-- A web application name. A web application name must be specified as <website name>/<web application name>. For example, "Default Web Site/WebApp1".

-- An IIS path. For example, "IIS:\sites\Default Web Site\WebApp1".

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

true (ByValue, ByPropertyName)

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Stop monitoring an application

This command stops monitoring for the application named WebApp1 in the website named Default Web Site. The application pool is recycled when no other applications in the application pool are monitored. The IntelliTrace file is written to the output path specified in Start-WebApplicationMonitoring.

C:\PS>Stop-WebApplicationMonitoring -Name "Default Web Site/WebApp1"

関連トピック

Start-WebApplicationMonitoring

Checkpoint-WebApplicationMonitoring

Get-WebApplicationMonitoringStatus