Clear-ASAppAnalyticTracing

Clear-ASAppAnalyticTracing

Resets the ETW provider ID for the WCF/WF service to use the default provider ID. If message flow tracing was enabled this command will disable message flow tracing.

Syntax

Parameter Set: SiteNameAndVirtualPath
Clear-ASAppAnalyticTracing [-SiteName] <String> [[-VirtualPath] <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]


Parameters

-ApplicationObject<ApplicationInfo>

An object that application configuration cmdlets output.  This allows piping IIS configuration scope between commands.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

-Root

Indicates that only the root web.config file should be searched.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

-SiteName<String>

The IIS Web Site Name used to filter the configuration search.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

-Uri<Uri>

The Uri to an application whose configuration should be searched.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

-VirtualPath<String>

The IIS Virtual Path used to filter the configuration search.


Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

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

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • ApplicationInfo and ServiceInfo.


Outputs

The output type is the type of the objects that the cmdlet emits.

  • None.


Examples

Example 1

This command disables and resets the ETW provider ID for the WCF/WF service to use the default provider ID at the root level.


Clear-ASAppAnalyticTracing –Root

Example 2

This command disables and resets the ETW provider ID for the WCF/WF service to use the default provider ID at the web site level.


Clear-ASAppAnalyticTracing -SiteName "Default Web Site"

Example 3

This command disables and resets the ETW provider ID for the WCF/WF service to use the default provider ID at the application level.


Clear-ASAppAnalyticTracing -SiteName "Default Web Site" -VirtualPath "/SampleService"
Show: