Distributed Transaction Coordinator (MSDTC) Cmdlets in Windows PowerShell
Windows PowerShell® est un interpréteur en ligne de commande et un langage de script basé sur des tâches, conçu spécialement pour l’administration système. Cette rubrique de référence pour les informaticiens fournit une assistance sur l’utilisation des 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 |
---|---|
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. |
Notes
To list all the cmdlets that are available, use the Get-Command -Module MsDtc
cmdlet.
Pour plus d’informations sur les applets de commande ou leur syntaxe, utilisez l’applet de commande Get-Help
<nom de l’applet de commande>, où <nom de l’applet de commande> est le nom de l’applet de commande que vous voulez rechercher. Pour plus d’informations, vous pouvez exécuter les applets de commande suivantes :
● Get-Help
<nom de l’applet de commande> -Detailed
● Get-Help
<nom de l’applet de commande> -Examples
● Get-Help
<nom de l’applet de commande> -Full