Clear-Web Request Tracing Setting

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.

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Aliases: cf
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
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
Aliases: wi
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False