Clear-ASAppServiceTracking

Clear-ASAppServiceTracking

Removes the etwTracking behavior from the nameless “” behavior in a Web.config configuration file.

Syntax

Parameter Set: SiteNameAndVirtualPath
Clear-ASAppServiceTracking [-SiteName] <String> [[-VirtualPath] <String> ] [ <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 targeted.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

-ServiceObject<ServiceInfo>

An object that service 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?

-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 targeted.


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?

<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 or ServiceInfo


Outputs

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

  • None


Examples

Example 1

This cmdlet example clears tracking for the MyWorkFlowApp application.


PS C:\Windows\system32> Clear-ASAppServiceTracking -Sitename "Default Web Site" -VirtualPath "/MyWorkflowApp"

Example 2

This cmdlet example clears tracking at the root level.


PS C:\Windows\system32> Clear-ASAppServiceTracking -Root
Show: