< Back
Get-DtcAdvancedSetting
Post
NAME Get-DtcAdvancedSetting
SYNOPSIS
Queries the advanced setting for MSDTC in the registry.
SYNTAX
Get-DtcAdvancedSetting [-CimSession <CimSession[]>] [-DtcName <String>] [-Subkey <String>] [-ThrottleLimit <Int32>] -Name <String>
[<CommonParameters>]
DESCRIPTION
The Get-DtcAdvancedSetting cmdlet gets the advanced setting for Microsoft Distributed Transaction Coordinator (MSDTC). Use this cmdlet to queury
the advanced setting information stored in the registry. You can query only one registry value at one time. Specify a DTC instance by using the
DtcName parameter. If you do not specify an instance, the default value is Local. The default registry location for advanced 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
-DtcName [<String>]
Specifies the DTC instance for which to retrieve 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 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 an advanced setting
PS C:\\>Get-DtcAdvancedSetting -Name "AccountName" -DtcName "Local" -Subkey "Security"
NT AUTHORITY\\NetworkService
This command gets the account name used by the local MSDTC instance.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/p/?linkid=317155
Set-DtcAdvancedSetting
SYNOPSIS
Queries the advanced setting for MSDTC in the registry.
SYNTAX
Get-DtcAdvancedSetting [-CimSession <CimSession[]>] [-DtcName <String>] [-Subkey <String>] [-ThrottleLimit <Int32>] -Name <String>
[<CommonParameters>]
DESCRIPTION
The Get-DtcAdvancedSetting cmdlet gets the advanced setting for Microsoft Distributed Transaction Coordinator (MSDTC). Use this cmdlet to queury
the advanced setting information stored in the registry. You can query only one registry value at one time. Specify a DTC instance by using the
DtcName parameter. If you do not specify an instance, the default value is Local. The default registry location for advanced 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
-DtcName [<String>]
Specifies the DTC instance for which to retrieve 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 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 an advanced setting
PS C:\\>Get-DtcAdvancedSetting -Name "AccountName" -DtcName "Local" -Subkey "Security"
NT AUTHORITY\\NetworkService
This command gets the account name used by the local MSDTC instance.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/p/?linkid=317155
Set-DtcAdvancedSetting