Distributed Transaction Coordinator (MSDTC) Cmdlets in Windows PowerShell
Windows PowerShell® 是工作型命令列殼層和指令碼語言,專為系統管理所設計。本參考主題適用於資訊技術 (IT) 專業人員,提供利用 Windows PowerShell Cmdlet 以執行指令碼和自動化工作的協助。
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 |
---|---|
Adds a cluster DTC mapping. |
|
Invokes the Commit process if the specified transaction is the root transaction; otherwise, invokes the Complete method on a transaction object. |
|
Gets DTC instances. |
|
Queries the DTC host level properties in the registry. |
|
Queries the advanced setting for MSDTC in the registry. |
|
Retrieves the default cluster server. |
|
Gets cluster DTC Mapping data. |
|
Gets the default DTC instance. |
|
Gets DTC log file settings. |
|
Gets DTC network and security configuration settings. |
|
Gets information about transactions being handled by the DTC instance. |
|
Gets a summary of transactions. |
|
Gets the DTC transactions trace session specific setting of the host. |
|
Gets the DTC transactions trace setting of the host. |
|
Installs the local transactions coordinator. |
|
Enlists a diagnostic Resource Manager for a transaction object. |
|
Creates a new transaction in a Transaction Manager on the local computer. |
|
Propagates a transaction from a given diagnostic Resource Manager. |
|
Removes a cluster DTC mapping. |
|
Resets the log file of a DTC instance. |
|
Propagates a transaction to a specified diagnostic Resource Manager. |
|
Sets the DTC host level properties in the registry. |
|
Sets DTC instance specific properties in the registry. |
|
Sets the cluster default transactions coordinator. |
|
Modifies an existing cluster DTC mapping. |
|
Sets the default transactions coordinator. |
|
Modifies the log file settings of a DTC instance. |
|
Modifies DTC network and security configuration for a DTC instance. |
|
Modifies the state of a transaction. |
|
Modifies the DTC transactions trace setting of the host. |
|
Modifies the DTC transactions trace setting of the host. |
|
Starts the DTC instance. |
|
Starts a diagnostic Resource Manager. |
|
Starts a new DTC transactions trace session for the host. |
|
Stops a DTC instance. |
|
Stops and removes a diagnostic Resource Manager job. |
|
Stops the active DTC transactions trace session on the host. |
|
Tests whether two computers can participate in networked transactions. |
|
Invokes the Abort process on the specified transaction. |
|
Uninstalls the local transactions coordinator. |
|
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.
如需有關任何 Cmdlet 的詳細資訊或其語法,請使用 Get-help
<Cmdlet 名稱> Cmdlet,其中 *<Cmdlet 名稱>*是您想要研究的 Cmdlet 的名稱。如需詳細資訊,您可以執行下列任何 Cmdlet:
● Get-Help
<Cmdlet 名稱> -Detailed
● Get-Help
<Cmdlet 名稱> -Examples
● Get-Help
<Cmdlet 名稱> -Full