Windows PowerShell command on Get-command Send-DtcDiagnosticTransaction
MyWebUniversity

Windows PowerShell command on Get-command Send-DtcDiagnosticTransaction

NAME

Send-DtcDiagnosticTransaction

SYNOPSIS

Propagates a transaction to a specified diagnostic Resource Manager.

SYNTAX

Send-DtcDiagnosticTransaction [-Transaction] [[-ComputerName] ] [[-Port]

] [[-PropagationMethod] {Pull | Push}] []

DESCRIPTION

The Send-DtcDiagnosticTransaction cmdlet propagates a transaction to a specified diagnostic Resource Manager (RM).

Use the PropagationMethod parameter to specify the propagation method.

PARAMETERS

-ComputerName []

Specifies the host name of the computer on which the RM is running. If you do not specify a host name, the cmdlet uses the name of the local computer. Required? false Position? 2 Default value none Accept pipeline input? True (ByValue) Accept wildcard characters? false

-Port []

Specifies the listening port of the test RM. If you do not specify a port number, the cmdlet uses the name of the local computer. Required? false Position? 3 Default value none Accept pipeline input? false Accept wildcard characters? false

-PropagationMethod []

Specifies the propagation mechanism, pull or push, to use. The default is pull. Required? false Position? 4 Default value none Accept pipeline input? false Accept wildcard characters? false

-Transaction

Specifies the DtcDiagnosticTransaction object to use in the transaction propagation. You can use the pipeline operator to pass this parameter value to the cmdlet. Required? true Position? 1 Default value none Accept pipeline input? True (ByValue) Accept wildcard characters? false This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

Example 1: Send a DTC diagnostic transaction

PS C:\>$Tx = New-DtcDiagnosticTransaction

PS C:\> Send-DtcDiagnosticTransaction -Transaction $Tx -ComputerName "Host1" -PropagationMethod Push

The first command creates a new DTC diagnostic transaction and assigns it to a variable. The second command sends the diagnostic transaction to an RM running on the computer named Host1.

RELATED LINKS

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

Complete-DtcDiagnosticTransaction

New-DtcDiagnosticTransaction

Receive-DtcDiagnosticTransaction

Undo-DtcDiagnosticTransaction



Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 OurUNIX.com ™