PowerShell Logo Small

Get-DtcLog



This is the built-in help made by Microsoft for the command 'Get-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.

SYNOPSIS

Gets DTC log file settings.

SYNTAX


Get-DtcLog [-AsJob] [-CimSession <CimSession[]>] [-DtcName <String>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-DtcLog cmdlet gets the log file settings for a Distributed Transaction Coordinator (DTC) instance. Use the DtcName parameter to specify a DTC instance.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=317159
Reset-DtcLog
Set-DtcLog

REMARKS

<

Examples


Example 1: Get the log file settings for the local DTC instance

PS C:\> Get-DtcLog
MaxSizeInMB : 512
Path : C:\Windows\system32\MSDtc
SizeInMB : 4



This command gets the DTC log file settings for the local DTC instance.




Example 2: Get the log file settings for a specified DTC instance

PS C:\> Get-DtcLog -DtcName "InstanceName"
MaxSizeInMB : 512
Path : G:\MSDTC\beb6d145-405e-47cd-b326-a5505a461229
SizeInMB : 4



This command gets the DTC log file settings for the specified DTC instance.