PowerShell Logo Small

Set-DtcNetworkSetting



This is the built-in help made by Microsoft for the command 'Set-DtcNetworkSetting', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Set-DtcNetworkSetting modifies the DTC network and security configuration for the DTC service specified by the DtcName parameter. Set-DtcNetworkSetting will restart the DTC service.

SYNTAX


Set-DtcNetworkSetting [-AuthenticationLevel [<String>]] [-DtcName <String>] [-InboundTransactionsEnabled [<Boolean>]] [-LUTransactionsEnabled
[<Boolean>]] [-OutboundTransactionsEnabled [<Boolean>]] [-RemoteAdministrationAccessEnabled [<Boolean>]] [-RemoteClientAccessEnabled
[<Boolean>]] [-XATransactionsEnabled [<Boolean>]] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Set-DtcNetworkSetting [-DtcName <String>] -DisableNetworkAccess [<SwitchParameter>] [-Confirm [<SwitchParameter>]] [-WhatIf
[<SwitchParameter>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Set-DtcNetworkSetting modifies the DTC network and security configuration for the DTC service specified by the DtcName parameter.
Set-DtcNetworkSetting will restart the DTC service.



<

RELATED LINKS


Online Version:



REMARKS

<

Examples




Change the Network and Security settings for the Local DTC instance.
PS C:\> Set-DtcNetworkSetting -DtcName Local -AuthenticationLevel Incoming -InboundTransactionsEnabled 0

Verify the changes now with Get-DtcNetworkSetting.
PS C:\> Get-DtcNetworkSetting -DtcName Local
__GENUS : 2
__CLASS : DtcNetworkSettings
__SUPERCLASS :
__DYNASTY : DtcNetworkSettings
__RELPATH :
__PROPERTY_COUNT : 7
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
AuthenticationLevel : Mutual
InboundTransactionsEnabled : True
LUTransactionsEnabled : True
OutboundTransactionsEnabled : True
RemoteAdministrationAccessEnabled : True
RemoteClientAccessEnabled : True
XATransactionsEnabled : True



A basic example of how to use Set-DtcNetworkSetting to change DTC Network and Security settings.