< Back

Get-Dtc

Tue Jan 29, 2019 10:24 pm

NAME Get-Dtc



SYNOPSIS

Gets DTC instances.





SYNTAX

Get-Dtc [-CimSession <CimSession[]>] [-DtcName <String>] [-ThrottleLimit <Int32>] [<CommonParameters>]





DESCRIPTION

The Get-Dtc cmdlet gets Distributed Transaction Coordinator (DTC) instances that run on the host. Use the DtcName parameter to specify a DTC

instance.





PARAMETERS

-CimSession [<CimSession[]>]

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession

or Get-CimSession cmdlet. The default is the current session on the local computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-DtcName [<String>]

Specifies the DTC instance to get on the host. If you do not specify this parameter, or if you specify a value of Local, this cmdlet gets the

local DTC instance for the host.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-ThrottleLimit [<Int32>]

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0

is entered, then Windows PowerShell???? calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running

on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS











OUTPUTS











Example 1: Get a DTC instance



PS C:\\> Get-Dtc

DtcName : Local

KtrmEndpointCid : b6628c9f-46ff-404d-a0fa-62657cb828af

OleTxEndpointCid : f3027ea1-4ee5-45b5-a01c-06f41221111b

Status : Started

UisEndpointCid : e9385758-8092-4dd7-8b09-587aa427a58e

VirtualServerName : Contoso093

XAEndpointCid : ced49d85-82a9-49d9-a6ee-8c5b4bd7b5bd



DtcName : MSDTC-Contoso093DTC1

KtrmEndpointCid :

OleTxEndpointCid : 04c1c8e4-4810-4dc5-945b-b1cb2c9a2cc4

Status : Started

UisEndpointCid : 9a8d3a2f-c28c-4bb6-91fd-8378492bf6a9

VirtualServerName : Contoso093DTC1

XAEndpointCid : 956d64a7-a307-4aaa-a5d9-10e31f6c51fa



DtcName : MSDTC-Contoso093DTC2

KtrmEndpointCid :

OleTxEndpointCid : ab8eacbf-7b9e-45a5-b61d-b42194d492ea

Status : Started

UisEndpointCid : bf1986e4-7c9f-455b-beba-4b8f9fb431ad

VirtualServerName : Contoso093DTC2

XAEndpointCid : 2833ac93-f291-4fa2-b413-a7b67f7529c1



This command gets a DTC instance. The command does not specify the DtcName parameter, so the cmdlet gets the local instance.





Example 2: Get the local DTC instance



PS C:\\> Get-Dtc -DtcName "Local"

DtcName : Local

KtrmEndpointCid : b6628c9f-46ff-404d-a0fa-62657cb828af

OleTxEndpointCid : f3027ea1-4ee5-45b5-a01c-06f41221111b

Status : Started

UisEndpointCid : e9385758-8092-4dd7-8b09-587aa427a58e

VirtualServerName : Contoso093

XAEndpointCid : ced49d85-82a9-49d9-a6ee-8c5b4bd7b5bd



This command gets the local DTC instance.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=317153

Install-Dtc

Start-Dtc

Stop-Dtc

Test-Dtc

Uninstall-Dtc