Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Start-VMTrace

Last Updated: 3/8/2017

SYNOPSIS

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
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

-Path

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

-TraceVerboseObjects

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Object

NOTES

Stop-VMTrace

© 2017 Microsoft