PowerShell Logo Small

Undo-DtcDiagnosticTransaction



This is the built-in help made by Microsoft for the command 'Undo-DtcDiagnosticTransaction', 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

Invokes the Abort process on the specified transaction.

SYNTAX


Undo-DtcDiagnosticTransaction [-Transaction] <DtcDiagnosticTransaction> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Undo-DtcDiagnosticTransaction cmdlet invokes the Abort process on the specified transaction.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=317188
Complete-DtcDiagnosticTransaction
New-DtcDiagnosticTransaction
Receive-DtcDiagnosticTransaction
Send-DtcDiagnosticTransaction

REMARKS

<

Examples


Example 1: Undo a DTC diagnostic transaction

PS C:\>$Tx = New-DtcDiagnosticTransaction
PS C:\> Undo-DtcDiagnosticTransaction –Transaction $Tx



This command creates a new diagnostic transaction and assigns it to a variable.

The second command undoes the transaction.