Export (0) Print
Expand All

Distributed Transaction Coordinator (MSDTC) Cmdlets

Windows Server 2012 R2 and Windows 8.1

Updated: May 8, 2014

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.

Distributed Transaction Coordinator (DTC) Cmdlets

This reference provides information about the Windows PowerShell cmdlets provided with Microsoft Distributed Transaction Coordinator (MSDTC). The cmdlet help topics in this section are in alphabetical order.

 

Cmdlet Description

Add-DtcClusterTMMapping

Adds a cluster DTC mapping.

Complete-DtcDiagnosticTransaction

Invokes the Commit process if the specified transaction is the root transaction; otherwise, invokes the Complete method on a transaction object.

Get-Dtc

Gets DTC instances.

Get-DtcAdvancedHostSetting

Queries the DTC host level properties in the registry.

Get-DtcAdvancedSetting

Queries the advanced setting for MSDTC in the registry.

Get-DtcClusterDefault

Retrieves the default cluster server.

Get-DtcClusterTMMapping

Gets cluster DTC Mapping data.

Get-DtcDefault

Gets the default DTC instance.

Get-DtcLog

Gets DTC log file settings.

Get-DtcNetworkSetting

Gets DTC network and security configuration settings.

Get-DtcTransaction

Gets information about transactions being handled by the DTC instance.

Get-DtcTransactionsStatistics

Gets a summary of transactions.

Get-DtcTransactionsTraceSession

Gets the DTC transactions trace session specific setting of the host.

Get-DtcTransactionsTraceSetting

Gets the DTC transactions trace setting of the host.

Install-Dtc

Installs the local transactions coordinator.

Join-DtcDiagnosticResourceManager

Enlists a diagnostic Resource Manager for a transaction object.

New-DtcDiagnosticTransaction

Creates a new transaction in a Transaction Manager on the local computer.

Receive-DtcDiagnosticTransaction

Propagates a transaction from a given diagnostic Resource Manager.

Remove-DtcClusterTMMapping

Removes a cluster DTC mapping.

Reset-DtcLog

Resets the log file of a DTC instance.

Send-DtcDiagnosticTransaction

Propagates a transaction to a specified diagnostic Resource Manager.

Set-DtcAdvancedHostSetting

Sets the DTC host level properties in the registry.

Set-DtcAdvancedSetting

Sets DTC instance specific properties in the registry.

Set-DtcClusterDefault

Sets the cluster default transactions coordinator.

Set-DtcClusterTMMapping

Modifies an existing cluster DTC mapping.

Set-DtcDefault

Sets the default transactions coordinator.

Set-DtcLog

Modifies the log file settings of a DTC instance.

Set-DtcNetworkSetting

Modifies DTC network and security configuration for a DTC instance.

Set-DtcTransaction

Modifies the state of a transaction.

Set-DtcTransactionsTraceSession

Modifies the DTC transactions trace setting of the host.

Set-DtcTransactionsTraceSetting

Modifies the DTC transactions trace setting of the host.

Start-Dtc

Starts the DTC instance.

Start-DtcDiagnosticResourceManager

Starts a diagnostic Resource Manager.

Start-DtcTransactionsTraceSession

Starts a new DTC transactions trace session for the host.

Stop-Dtc

Stops a DTC instance.

Stop-DtcDiagnosticResourceManager

Stops and removes a diagnostic Resource Manager job.

Stop-DtcTransactionsTraceSession

Stops the active DTC transactions trace session on the host.

Test-Dtc

Tests whether two computers can participate in networked transactions.

Undo-DtcDiagnosticTransaction

Invokes the Abort process on the specified transaction.

Uninstall-Dtc

Uninstalls the local transactions coordinator.

Write-DtcTransactionsTraceSession

Writes the data from an active DTC transactions trace session into the log file.

noteNote
To list all the cmdlets that are available, use the Get-Command -Module MsDtc cmdlet.

For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft