PowerShell Logo Small

Set-DtcTransaction



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

Modifies the state of a transaction.

SYNTAX


Set-DtcTransaction [-AsJob] [-CimSession <CimSession[]>] [-DtcName <String>] [-ThrottleLimit <Int32>] -Abort -TransactionId <Guid> [<CommonParameters>]
Set-DtcTransaction [-AsJob] [-CimSession <CimSession[]>] [-DtcName <String>] [-ThrottleLimit <Int32>] -Forget -TransactionId <Guid> [<CommonParameters>]
Set-DtcTransaction [-AsJob] [-CimSession <CimSession[]>] [-DtcName <String>] [-ThrottleLimit <Int32>] -Commit -TransactionId <Guid> [<CommonParameters>]
Set-DtcTransaction [-AsJob] [-CimSession <CimSession[]>] [-DtcName <String>] [-ThrottleLimit <Int32>] -Trace -TransactionId <Guid> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-DtcTransaction cmdlet modifies the state of a transaction in the Distributed Transaction Coordinator (DTC) host-level properties stored in the registry.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=317179
Get-DtcTransaction

REMARKS

<

Examples


Example 1: Set a trace for a transaction

PS C:\> Set-DtcTransaction –DtcName "Local" –Trace –TransactionId 2E6E62E0-044B-4DFE-9A8B-B69CFF5C9E26



This command sets a trace for the specified transaction.