This is the built-in help made by Microsoft for the command 'Set-DtcLog', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 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.
Modifies the log file settings of a DTC instance.
Set-DtcLog [-AsJob] [-CimSession <CimSession>] [-DtcName <String>] [-MaxSizeInMB <UInt32>] [-Path <String>] [-SizeInMB <UInt32>] [-ThrottleLimit <Int32>] [-Confirm]
The Set-DtcLog cmdlet modifies the log file settings of a Distributed Transaction Coordinator (DTC) instance. Use the DtcName parameter to specify a DTC instance. This
cmdlet also recreates the transactions log with new settings and restarts the DTC instance.
Online Version: http://go.microsoft.com/fwlink/p/?linkid=317177
Example 1: Set the log file path and file size
PS C:\> Set-DtcLog -Path "C:\Windows\system32\MSDtc\NewLog\" -SizeInMB 32 -MaxSizeInMB 1024
PS C:\> Get-DtcLog
MaxSizeInMB : 1024
Path : C:\Windows\system32\MSDtc\NewLog
SizeInMB : 32
The first command sets the path for the DTC log file and specifies the file size. The second command confirms the change.