次の方法で共有


Distributed Transaction Coordinator (MSDTC) Cmdlets in Windows PowerShell

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