Stop-DtcDiagnosticResourceManager
Stops and removes a diagnostic Resource Manager job.
Syntax
ParameterSetInstance (Default)
Stop-DtcDiagnosticResourceManager
[[-Job] <DtcDiagnosticResourceManagerJob>]
[<CommonParameters>]
ParameterSetName
Stop-DtcDiagnosticResourceManager
[[-Name] <String>]
[<CommonParameters>]
ParameterSetInstanceId
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.
Parameter properties
Type: | Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ParameterSetInstanceId
Position: | 0 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Job
Specifies the DtcDiagResourceManagerJob instance to stop. This parameter accepts pipeline input.
Parameter properties
Type: | DtcDiagnosticResourceManagerJob |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ParameterSetInstance
Position: | 0 |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
Specifies a name of the diagnostic resource manager to stop.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ParameterSetName
Position: | 0 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.