Clear-WebRequestTracingSetting
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.
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 |
Related Links
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈