Edit

Share via


Start-DtcDiagnosticResourceManager

Starts a diagnostic Resource Manager.

Syntax

Default (Default)

Start-DtcDiagnosticResourceManager
    [[-Port] <Int32>]
    [[-Name] <String>]
    [<CommonParameters>]

Description

The Start-DtcDiagnosticResourceManager cmdlet starts a diagnostic Resource Manager (RM) as a Windows PowerShell® background job.

Examples

Example 1: Start a diagnostic resource manager

PS C:\> Start-DtcDiagnosticResourceManager -Port 17124 -Name "testRM"

This example starts a DTC diagnostic resource manager.

Parameters

-Name

Specifies the name for the diagnostic resource manager to start. You can later refer to the RM by using this name. If you do not specify a name, the RM instance ID, a GUID, is always assigned to the RM and you can refer to it by that ID.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Port

Specifies the listening port of the test RM.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:True
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.