Distributed Transaction Coordinator (MSDTC) Cmdlets

適用対象: Windows 10, Windows PowerShell 5.0, Windows Server Technical Preview

Windows PowerShell® は、特にシステム管理用に設計されている、タスク ベースのコマンド ライン シェルとスクリプト言語です。IT プロフェッショナルを対象としたこのリファレンス トピックは、Windows PowerShell コマンドレットを活用してタスクをスクリプト化および自動化する場合に役立ちます。

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.

注意

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

コマンドレットの詳細や構文を確認するには、Get-Help <コマンドレット名> コマンドレットを使用します。<コマンドレット名> には、調査対象のコマンドレットの名前を指定します。さらに詳しい情報については、次のコマンドレットを実行してください。

Get-Help <コマンドレット名> -Detailed
Get-Help <コマンドレット名> -Examples
Get-Help <コマンドレット名> -Full