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

Clear-WebRequestTracingSetting

Brian Lich|Last Updated: 4/3/2017

SYNOPSIS

Clears the request tracing configuration from a website.

SYNTAX

Clear-WebRequestTracingSetting [[-Name] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Clear-WebRequestTracingSetting cmdlet clears request tracing settings from the specified website. It also disables request tracing for the site. This cmdlet is identical to Clear-WebRequestTracingSettings.

EXAMPLES

Example 1: Remove request tracing from the default website

IIS:\> Clear-WebRequestTracingSetting -Name "Default Web Site"

This command removes request tracing from the default website.

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Name

Specifies the name of the site from which request tracing settings are cleared.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
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

NOTES

Disable-WebRequestTracing

Clear-WebRequestTracingSettings

© 2017 Microsoft