Share via


Stop-DtcDiagnosticResourceManager

Stop-DtcDiagnosticResourceManager

Stops and removes a diagnostic Resource Manager job.

構文

Parameter Set: ParameterSetInstance
Stop-DtcDiagnosticResourceManager [[-Job] <DtcDiagnosticResourceManagerJob> ] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [ <CommonParameters>]

Parameter Set: ParameterSetInstanceId
Stop-DtcDiagnosticResourceManager [[-InstanceId] <Guid> ] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [ <CommonParameters>]

Parameter Set: ParameterSetName
Stop-DtcDiagnosticResourceManager [[-Name] <String> ] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [ <CommonParameters>]

詳細説明

The Stop-DtcDiagnosticResourceManager cmdlet stops and removes a DiagnosticResourceManagerJob that runs as a Windows PowerShell® background job. To stop the default Resource Manager, you must explicitly specify the name of the default Resource Manager.

パラメーター

-InformationAction<System.Management.Automation.ActionPreference>

エイリアス

infa

必須?

false

位置は?

named

既定値

none

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

false

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

false

-InformationVariable<System.String>

エイリアス

iv

必須?

false

位置は?

named

既定値

none

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

false

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

false

-InstanceId<Guid>

Specifies the DtcDiagResourceManagerJob instance ID to stop.

エイリアス

none

必須?

false

位置は?

1

既定値

none

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

false

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

false

-Job<DtcDiagnosticResourceManagerJob>

Specifies the DtcDiagResourceManagerJob instance to stop. This parameter accepts pipeline input.

エイリアス

none

必須?

false

位置は?

1

既定値

none

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

True (ByValue)

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

false

-Name<String>

Specifies a name of the diagnostic resource manager to stop.

エイリアス

none

必須?

false

位置は?

1

既定値

none

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

false

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

false

<CommonParameters>

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

入力

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

出力

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

Example 1: Stop a diagnostic resource manager

This command stops the DTC diagnostic resource manager named testRM.

PS C:\> Stop-DtcDiagnosticResourceManager -Name "testRM"

関連トピック

Join-DtcDiagnosticResourceManager

Start-DtcDiagnosticResourceManager