Editar

Compartir a través de


Stop-DtcDiagnosticResourceManager

Stops and removes a diagnostic Resource Manager job.

Syntax

Stop-DtcDiagnosticResourceManager
    [[-Job] <DtcDiagnosticResourceManagerJob>]
    [<CommonParameters>]
Stop-DtcDiagnosticResourceManager
    [[-Name] <String>]
    [<CommonParameters>]
Stop-DtcDiagnosticResourceManager
    [[-InstanceId] <Guid>]
    [<CommonParameters>]

Description

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.

Examples

Example 1: Stop a diagnostic resource manager

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

This command stops the DTC diagnostic resource manager named testRM.

Parameters

-InstanceId

Specifies the DtcDiagResourceManagerJob instance ID to stop.

Type:Guid
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Job

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

Type:DtcDiagnosticResourceManagerJob
Position:0
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Name

Specifies a name of the diagnostic resource manager to stop.

Type:String
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False