Set-ASAppAnalyticTracing

Set-ASAppAnalyticTracing

Event Tracing For Windows is a high-performance and efficient kernel-level tracing mechanism that writes trace data to the event logs. The Set-ASAppAnalyticTracing cmdlet sets the analytic tracing configuration for the Web application at the specified scope.

Syntax

Parameter Set: SiteNameAndVirtualPath
Set-ASAppAnalyticTracing [-SiteName] <String> [[-VirtualPath] <String> ] [-MessageFlowTracing <Boolean> ] [-PropagateActivity <Boolean> ] [-ProviderId <Guid> ] [ <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?

-MessageFlowTracing<Boolean>

Enables message flow tracing.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

-PropagateActivity<Boolean>

Setting this to True enables sending end-to-end activity IDs across the network when making calls.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

-ProviderId<Guid>

The ID of the ETW provider that the configured application(s) will use when writing events to ETW.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

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?

-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


Outputs

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

  • None


Examples

Show: