Set-DtcClusterDefault

Applies To: Windows Server 2012 R2 Preview

Set-DtcClusterDefault

Set-DtcClusterDefault can be used to set the cluster default transactions coordinator.

Syntax

Parameter Set: Default
Set-DtcClusterDefault -DtcResourceName <String> [ <CommonParameters>]

Detailed Description

Set-DtcClusterDefault can be used to set the cluster default transactions coordinator.

Parameters

-DtcResourceName<String>

Supported only on clustered nodes. Name of the DTC cluster resource that needs to be set as default cluster TM.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • string

    The virtual server name of the cluster default transactions coordinator returned.

Examples

Setting the default cluster DTC to ClusterredDtcResource.

PS C:\> Set-DtcClusterDefault –DtcResourceName ClusterredDtcResource