< Back

Set-DtcAdvancedHostSetting

Tue Jan 29, 2019 10:24 pm

NAME Set-DtcAdvancedHostSetting



SYNOPSIS

Sets the DTC host level properties in the registry.





SYNTAX

Set-DtcAdvancedHostSetting [-CimSession <CimSession[]>] [-Subkey <String>] [-ThrottleLimit <Int32>] -Name <String> -Type {String | DWORD} -Value

<String> [<CommonParameters>]





DESCRIPTION

The Set-DtcAdvancedHostSetting cmdlet sets the Distributed Transaction Coordinator (DTC) host level 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



-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: Specify a diagnostic trace file path



PS C:\\> Set-DtcAdvancedHostSetting -Name "TraceFilePath" -Type "SZ" -Value "C:\\Temp" -SubKey "Tracing\\Output"



This command specifies a diagnostic trace file path.







RELATED LINKS

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

Get-DtcAdvancedHostSetting