Save-CauDebugTrace

Save-CauDebugTrace

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

구문

Parameter Set: Default
Save-CauDebugTrace [[-ClusterName] <String> ] [[-FilePath] <String> ] [-Credential <PSCredential> ] [-Force] [-RunId <Guid> ] [ <CommonParameters>]

자세한 설명

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.

매개 변수

-FilePath<String>

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

별칭

없음

필수 여부

false

위치

2

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Force

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.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

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.

별칭

없음

필수 여부

false

위치

1

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Credential<PSCredential>

Specifies the administrative credentials for the target cluster.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-RunId<Guid>

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

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

  • None

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

  • None

예제

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

관련 항목

Invoke-CauRun