Clear-Web
Request
Tracing
Setting
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
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 |
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 |
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 |