Reset-DtcLog

Reset-DtcLog

Reset-DtcLog resets the Log File of the DTC service specified by the DtcName parameter. Reset-DtcLog will recreate the transactions log with the existing settings and the DTC service will be restarted.

Syntax

Parameter Set: Default
Reset-DtcLog [-DtcName <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

Reset-DtcLog resets the Log File of the DTC service specified by the DtcName parameter. Reset-DtcLog will recreate the transactions log with the existing settings and the DTC service will be restarted.

Parameters

-DtcName<String>

Specifies the DTC service for which the Log File is to be reset. If this parameter is null or set to Local, this will reset the Log File for the Local DTC service.

Aliases

none

Required?

false

Position?

named

Default Value

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.

Required?

false

Position?

named

Default Value

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.

Required?

false

Position?

named

Default Value

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters