Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Save-CauDebugTrace

Save-CauDebugTrace

clusterawareupdating.dll

Synopsis

Saves Cluster-Aware Updating (CAU) debug tracing information to a local zip file.

Syntax

Save-CauDebugTrace [-ClusterName] [-FilePath] [-Credential] [-Force] [-RunId] [<CommonParameters>]

Detailed Description

The Save-CauDebugTrace cmdlet saves Cluster-Aware Updating (CAU) debug tracing information to a local zip file. The tracing information is mainly intended for use by developers and support engineers. Specify the file name with the FilePath parameter.

Note: To run this cmdlet, Windows PowerShell® remoting must be enabled on each node. To do this, run the Enable-PSRemoting cmdlet. In addition, ensure that the Windows Remote Management - Compatibility Mode (HTTP-In) firewall exception is enabled on each node.

Parameters

-FilePath <String>

Specifies the name of the file to which to save the tracing information, such as MyTrace.zip.

Aliases

None

Required?

false

Position

2

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Force <SwitchParameter>

Specifies that when the file specified by the FilePath parameter exists, it is overwritten without prompting for confirmation. If Force is not specified, then when the file specified by the FilePath parameter exists, the cmdlet returns an error.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ClusterName <String>

Specifies the name of the cluster for which to gather CAU debug tracing information. This parameter is only required when this cmdlet is not run on a failover cluster node, or this cmdlet is used to reference a failover cluster different from where the cmdlet is run.

Aliases

None

Required?

false

Position

1

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Credential <PSCredential>

Specifies the administrative credentials for the target cluster.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-RunId <Guid>

Indicates that the cmdlet should only include debug trace files related to an Updating Run with the specified Run ID.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

None

Return Type

None

Notes

None

Examples

EXAMPLE 1

This example saves the debug tracing information, for the cluster called CONTOSO-FC1, to a trace file called testrun.zip in the C:\temp folder.

PS C:\> Save-CauDebugTrace –ClusterName CONTOSO-FC1 -FilePath C:\temp\testrun.zip

Online Version
Invoke-CauRun