Clear-Web
Request
Tracing
Settings
Syntax
Clear-WebRequestTracingSettings
[[-Name] <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Clear-WebRequestTracingSettings cmdlet clears request tracing settings from the specified website. It also disables request tracing for the site. This cmdlet is identical to Clear-WebRequestTracingSetting, which is preferred.
Examples
Example 1: Remove request tracing from the default website
IIS:\> Clear-WebRequestTracingSettings -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 |