< Back

Receive-DtcDiagnosticTransaction

Tue Jan 29, 2019 10:25 pm

NAME Receive-DtcDiagnosticTransaction



SYNOPSIS

Propagates a transaction from a given diagnostic Resource Manager.





SYNTAX

Receive-DtcDiagnosticTransaction [[-ComputerName] <String>] [[-Port] <Int32>] [[-PropagationMethod] {Pull | Push}] [<CommonParameters>]





DESCRIPTION

The Receive-DtcDiagnosticTransaction cmdlet propagates a transaction from a specified diagnostic Resource Manager (RM). A transaction is created

on the specified RM and propagated to the Windows PowerShell???? client using either pull or push propagation. Use the PropagationMethod parameter to

specify the propagation mechanism.





PARAMETERS

-ComputerName [<String>]

Specifies the host name of the computer on which the RM runs. If you do not specify a host name, this cmdlet uses the name of the local

computer.



Required? false

Position? 1

Default value none

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Port [<Int32>]

Specifies the listening port of the test RM. If you do not specify a port number, this cmdlet uses the name of the local computer.



Required? false

Position? 2

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-PropagationMethod [<DtcTransactionPropagation>]

Specifies the propagation mechanism, pull or push, to use. The default is pull.



Required? false

Position? 3

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: Receive a diagnostic transaction



PS C:\\>Receive-DtcDiagnosticTransaction ????????ComputerName "Host1" ????????Port 17123 ????????PropagationMethod Pull

Id

--

d23fd4b1-1b54-486a-9e9f-a92550a19ce2



This command pulls a diagnostic transaction from Host1 port 17123.







RELATED LINKS

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

Complete-DtcDiagnosticTransaction

New-DtcDiagnosticTransaction

Send-DtcDiagnosticTransaction

Undo-DtcDiagnosticTransaction