description | external help file | Module Name | ms.date | online version | schema | title |
---|---|---|---|---|---|---|
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell. |
Microsoft.HyperV.PowerShell.Cmdlets.dll-Help.xml |
Hyper-V |
12/20/2016 |
2.0.0 |
Start-VMTrace |
Starts tracing to a file.
Start-VMTrace [-Level] <TraceLevel> [-TraceVerboseObjects] [-Path <String>] [<CommonParameters>]
The Start-VMTrace cmdlet starts tracing to a file. You can use this information for advanced debugging.
PS C:\> Start-VMTrace -Level Error
This command starts tracing at the level of Error.
Specifies the level of tracing. The acceptable values for this parameter are:
- Off
- Error
- Warning
- Info
- Verbose
Type: TraceLevel
Parameter Sets: (All)
Aliases:
Accepted values: Error, Warning, Info, Verbose
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the path of the file where this cmdlet stores the trace information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies that tracing uses verbose objects.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.