< Back

Get-DtcAdvancedHostSetting

Tue Jan 29, 2019 10:24 pm

NAME Get-DtcAdvancedHostSetting



SYNOPSIS

Queries the DTC host level properties in the registry.





SYNTAX

Get-DtcAdvancedHostSetting [-CimSession <CimSession[]>] [-Subkey <String>] [-ThrottleLimit <Int32>] -Name <String> [<CommonParameters>]





DESCRIPTION

The Get-DtcAdvancedHostSetting cmdlet queries the Distributed Transaction Coordinator (DTC) host level properties in the registry. The default

registry location for advanced host settings is HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\MSDTC.





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 get.



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 get.



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: Query tracing setting



PS C:\\>Get-DtcAdvancedHostSetting -Name "TRACE_CM" -SubKey "Tracing\\Sources"



255



This command queries the tracing setting for TRACE_CM.







RELATED LINKS

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

Set-DtcAdvancedHostSetting