Start-VMTrace
Starts tracing to a file.
Syntax
Start-VMTrace
[-Level] <TraceLevel>
[-TraceVerboseObjects]
[-Path <String>]
[<CommonParameters>]
Description
The Start-VMTrace cmdlet starts tracing to a file. You can use this information for advanced debugging.
Examples
Example 1: Start error tracing
PS C:\> Start-VMTrace -Level Error
This command starts tracing at the level of Error.
Parameters
-Level
Specifies the level of tracing. The acceptable values for this parameter are:
- Off
- Error
- Warning
- Info
- Verbose
Type: | TraceLevel |
Accepted values: | Error, Warning, Info, Verbose |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Path
Specifies the path of the file where this cmdlet stores the trace information.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TraceVerboseObjects
Specifies that tracing uses verbose objects.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Related Links
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기