Clear-WebRequestTracingSettings
Clears the request tracing configuration from a website.
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.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | 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 |
Required: | False |
Accept pipeline input: | True |
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 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |