Export (0) Print
Expand All

Get-Dtc

Get-Dtc

Get-Dtc can be used to enumerate DTC instances specified by the DtcName parameter, running on the host.

Syntax

Parameter Set: Default
Get-Dtc [-DtcName <String> ] [ <CommonParameters>]




Detailed Description

Get-Dtc can be used to enumerate DTC instances specified by the DtcName parameter, running on the host.

Parameters

-DtcName<String>

Specifies the DTC instance to be enumerated on the host. If this parameter is null or set to Local, this will return the Local DTC instance for the host.


Aliases

none

Required?

false

Position?

named

Default Value

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Examples

Example 1

Using Get-Dtc without any parameters


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 : CSDVM736403-GU
XAEndpointCid : ced49d85-82a9-49d9-a6ee-8c5b4bd7b5bd
DtcName           : MSDTC-CSDVM736403DTC1
KtrmEndpointCid :
OleTxEndpointCid : 04c1c8e4-4810-4dc5-945b-b1cb2c9a2cc4
Status : Started
UisEndpointCid : 9a8d3a2f-c28c-4bb6-91fd-8378492bf6a9
VirtualServerName : CSDVM736403DTC1
XAEndpointCid : 956d64a7-a307-4aaa-a5d9-10e31f6c51fa
DtcName           : MSDTC-CSDVM736403DTC2
KtrmEndpointCid :
OleTxEndpointCid : ab8eacbf-7b9e-45a5-b61d-b42194d492ea
Status : Started
UisEndpointCid : bf1986e4-7c9f-455b-beba-4b8f9fb431ad
VirtualServerName : CSDVM736403DTC2
XAEndpointCid : 2833ac93-f291-4fa2-b413-a7b67f7529c1

Example 2

Using Get-Dtc to obtain a specific DTC instances information.


PS C:\> 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 : CSDVM736403-GU
XAEndpointCid : ced49d85-82a9-49d9-a6ee-8c5b4bd7b5bd



Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft