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>

此 Cmdlet 支援一般參數:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 與 -OutVariable。如需詳細資訊,請參閱 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

輸入

輸入類型是您可以使用管線處理方式傳遞給 Cmdlet 的物件類型。

輸出

輸出類型是 Cmdlet 所發出的物件類型。

範例

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