Reset-DtcLog

Applies To: Windows Server 2012 R2 Preview

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

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

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.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.