Power Shell: i want to run this Dtc setings script for some specific servers.How i am able to do that? RRS feed

  • Question

  • Set-DtcNetworkSetting -DtcName Local
    -AuthenticationLevel Mutual
    -InboundTransactionsEnabled $True 
    -LUTransactionsEnabled $True
    -OutboundTransactionsEnabled $True
    -RemoteAdministrationAccessEnabled $False
    -RemoteClientAccessEnabled $True
    -XATransactionsEnabled $False

    Here are the settings that i want to run for a server but i want to run those type of settings for a specify number of servers like: 


    • Moved by Bill_Stewart Monday, December 17, 2018 6:33 PM This is not "scripts on demand"
    Tuesday, October 2, 2018 1:26 PM

All replies

  • You have to use remoting to access the local DTC of remote servers.

    help Invoke-Command -online


    Tuesday, October 2, 2018 3:38 PM