Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Receive-DtcDiagnosticTransaction

Receive-DtcDiagnosticTransaction

microsoft.dtc.powershell.dll

Synopsis

Propagates a transaction from a given diagnostic Resource Manager.

Syntax

Receive-DtcDiagnosticTransaction [-ComputerName] [-Port] [-PropagationMethod] [<CommonParameters>]

Detailed 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.

Aliases

None

Required?

false

Position

1

Default value

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.

Aliases

None

Required?

false

Position

2

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-PropagationMethod <DtcTransactionPropagation>

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

Aliases

None

Required?

false

Position

3

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

None

Examples

Example 1: Receive a diagnostic transaction

This command pulls a diagnostic transaction from Host1 port 17123.

PS C:\>Receive-DtcDiagnosticTransaction –ComputerName "Host1" –Port 17123 –PropagationMethod Pull
Id
--
d23fd4b1-1b54-486a-9e9f-a92550a19ce2

Online Version
Complete-DtcDiagnosticTransaction
New-DtcDiagnosticTransaction
Send-DtcDiagnosticTransaction
Undo-DtcDiagnosticTransaction