Clear-WebRequestTracingSetting

Clears the Request Tracing configuration from the specified Web site.

Syntax

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

Description

Clears Request Tracing settings from the specified Web site. It also disables Request Tracing for the site. This command is identical to Clear-WebRequestTracingSettings.

Examples

-------------- EXAMPLE 1: Removing Request Tracing from the Default Web Site --------------

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

Demonstrates how to remove Request Tracing from the Default Web Site.

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

The name of the site from which Request Trace 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