< Back

Set-DtcAdvancedSetting

Tue Jan 29, 2019 10:24 pm

NAME Set-DtcAdvancedSetting



SYNOPSIS

Sets DTC instance specific properties in the registry.





SYNTAX

Set-DtcAdvancedSetting [-CimSession <CimSession[]>] [-DtcName <String>] [-Subkey <String>] [-ThrottleLimit <Int32>] -Name <String> -Type {String |

DWORD} -Value <String> [<CommonParameters>]





DESCRIPTION

The Set-DtcAdvancedSetting cmdlet sets the Distributed Transaction Coordinator (DTC) instance specific properties in the registry.





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



-DtcName [<String>]

Specifies the DTC instance for which to set the DTC instance specific properties.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

Specifies the name of the property to set.



Required? true

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Subkey [<String>]

Specifies the subkey name for the property to set.



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



-Type <String>

Specifies the registry type of the property to store. The acceptable values for this parameter are:



-- SZ

-- DWORD



Required? true

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Value <String>

Specifies the value of the property to store.



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, WarningAction, WarningVariable,

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

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



INPUTS











OUTPUTS











Example 1: Modify a setting for the local DTC



PS C:\\> Set-DtcAdvancedSetting -Name "AllowOnlySecureRpcCalls" -Type "DWORD" -Value "0" -DtcName "Local"



This command disables remote procedure call (RPC) security on the local DTC.







RELATED LINKS

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

Get-DtcAdvancedSetting