PowerShell Logo Small

Get-Dtc



This is the built-in help made by Microsoft for the command 'Get-Dtc', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Gets DTC instances.

SYNTAX


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



Search powershellhelp.space

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.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=317153
Install-Dtc
Start-Dtc
Stop-Dtc
Test-Dtc
Uninstall-Dtc

REMARKS

<

Examples


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.