PowerShell Logo Small

Reset-DtcLog



This is the built-in help made by Microsoft for the command 'Reset-DtcLog', in PowerShell version 4 - as retrieved from Windows version 'Microsoft Windows 8.1 Enterprise' 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

Resets the log file of a DTC instance.

SYNTAX


Reset-DtcLog [-AsJob] [-CimSession <CimSession[]>] [-DtcName <String>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Reset-DtcLog cmdlet resets the log file of a Distributed Transaction Coordinator (DTC) instance. You can use the DtcName parameter to specify a DTC instance. This
cmdlet also recreates the transactions log with the existing settings and restarts the DTC instance.



<

RELATED LINKS

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

REMARKS

<

Examples


Example 1: Reset a DTC log

PS C:\>Reset-DtcLog –DtcName "Local" –Confirm:$False –WhatIf:$False



This command resets the log file for the Local DTC instance.