Distributed Transaction Coordinator (MSDTC) Cmdlets in Windows PowerShell

Windows PowerShell® ist eine aufgabenbasierte Befehlszeilenshell- und Skriptsprache, die speziell für die Systemverwaltung entwickelt wurde. Dieses Referenzthema für IT-Profis bietet Unterstützung beim Einsatz von Windows PowerShell-Cmdlets, um Skripts für Aufgaben zu erstellen und sie zu automatisieren.

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.

Hinweis

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

Um weitere Informationen zur Syntax beliebiger Cmdlets zu erhalten, verwenden Sie das Get-Help <Cmdlet-Name>-Cmdlet, wobei <Cmdlet-Name> der Name des Cmdlets ist, zu dem Sie Informationen wünschen. Um ausführlichere Informationen zu erhalten, können Sie die folgenden Cmdlets ausführen:

Get-Help <Cmdlet-Name> -Detailed
Get-Help <Cmdlet-Name> -Examples
Get-Help <Cmdlet-Name> -Full