Start-VMTrace

Start-VMTrace

Starts tracing to a file.

구문

Parameter Set: Default
Start-VMTrace [-Level] <TraceLevel> {Off | Error | Warning | Info | Verbose} [-Path <String> ] [-TraceVerboseObjects] [ <CommonParameters>]

자세한 설명

The Start-VMTrace cmdlet starts tracing to a file. You can use this information for advanced debugging.

매개 변수

-Level<TraceLevel>

Specifies the level of tracing. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Off
-- Error
-- Warning
-- Info
-- Verbose

별칭

none

필수 여부

true

위치

1

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-Path<String>

Specifies the path of the file where this cmdlet stores the trace information.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-TraceVerboseObjects

Specifies that tracing uses verbose objects.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)

입력

입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.

출력

출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.

  • System.Object

Example 1: Start error tracing

This command starts tracing at the level of Error.

PS C:\> Start-VMTrace -Level Error 

관련 항목

Stop-VMTrace