Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Disable-WebRequestTracing

Last Updated: 3/8/2017

SYNOPSIS

Disables request tracing for a website.

SYNTAX

Disable-WebRequestTracing [[-Name] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Disable-WebRequestTracing cmdlet disables request tracing for the specified website, but does not remove request tracing settings.

EXAMPLES

Example 1: Disable request tracing for the default website

IIS:\> Disable-WebRequestTracing -Name "Default Web Site"

This command disables request tracing for the default website.

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Name

Specifies the name of site for which request tracing is disabled.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
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
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

  • You can use the Clear-WebRequestTracingSetting cmdlet to remove request tracing settings.

Clear-WebRequestTracingSetting

Enable-WebRequestTracing

© 2017 Microsoft