< Back

Set-DtcDefault

Tue Jan 29, 2019 10:24 pm

NAME Set-DtcDefault



SYNOPSIS

Sets the default transactions coordinator.





SYNTAX

Set-DtcDefault [-CimSession <CimSession[]>] [-ServerName <String>] [-ThrottleLimit <Int32>] [<CommonParameters>]





DESCRIPTION

The Set-DtcDefault cmdlet sets the default transactions coordinator.





PARAMETERS

-CimSession [<CimSession[]>]

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession

or Get-CimSession cmdlet. The default is the current session on the local computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-ServerName [<String>]

Specifies the host name or virtual server name of the Distributed Transaction Coordinator (DTC) to set as the default coordinator. If you do

not specify this parameter, this cmdlet specifies the local DTC as the default coordinator.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-ThrottleLimit [<Int32>]

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0

is entered, then Windows PowerShell???? calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running

on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS











OUTPUTS











Example 1: Set the default DTC coordinator



PS C:\\>Set-DtcDefault -ServerName "host14"



This command sets the default DTC coordinator to host14.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=317176

Get-DtcDefault