Distributed Transaction Coordinator (MSDTC) Cmdlets

Mis à jour: août 2015

S'applique à: Windows 10, Windows PowerShell 5.0, Windows Server Technical Preview

Windows PowerShell® est un interpréteur de ligne de commande et un langage de script basé sur des tâches et conçu tout spécialement pour l'administration système. Cette rubrique de référence destinée aux professionnels des technologies de l'information fournit une assistance afin d'utiliser les applets de commande Windows PowerShell pour écrire des scripts et automatiser des tâches.

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.

Notes

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

Pour plus d'informations sur une applet de commande, ou sur sa syntaxe, utilisez l'applet de commande Get-Help <cmdlet name>, où <cmdlet name> est le nom de l'applet de commande que vous recherchez. Pour plus d'informations, exécutez l'une des applets de commande suivantes :

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