Export (0) Print
Expand All
Expand Minimize

Set-ASAppServiceTracking

Set-ASAppServiceTracking

Configures the etwTracking behavior in a Web.config configuration file’s nameless “” behavior. At run time, a workflow instance emits tracking events to the runtime tracking infrastructure. The runtime tracking infrastructure uses a TrackingProfile to filter these tracking events and returns tracking records based on this filtering to a tracking service.

Syntax

Parameter Set: SiteNameAndVirtualPath
Set-ASAppServiceTracking [-SiteName] <String> [[-VirtualPath] <String> ] [-ProfileName <String> ] [-UseInherited] [ <CommonParameters>]


Detailed Description

This cmdlet adds the etwTracking behavior to the Web.config file at the proper scope.

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?

-ProfileName<String>

The name of the tracking profile to use in the behavior configuration.


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?

-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?

-UseInherited

Indicates that the tracking profile used at the parent configuration should be used.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

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 sets the tracking level for the MyWorkflowApp application by inheriting the tracking profile from its root Web.config file. This occurs because the –UseInherited parameter is specified. In this case, the HealthMonitoring Tracking Profile is inherited by the MyWorkflowApp application because that is what is configured in the root Web.config file.


PS C:\Windows\system32> Set-ASAppServiceTracking -Sitename "Default Web Site" -VirtualPath "/MyWorkflowApp" -UseInheritedIsTrackingEnabled ProfileName IsLocal BehaviorName----------------- ----------- ------- ------------True HealthMonitoring Tracking ... False

Example 2

This cmdlet example sets the tracking level for the MyWorkflowApp application to EndtoEndMonitoring Tracking Profile.


PS C:\Windows\system32> Set-ASAppServiceTracking -Sitename "Default Web Site" -VirtualPath "/MyWorkflowApp" -ProfileName "EndToEndMonitoring Tracking Profile"IsTrackingEnabled ProfileName IsLocal BehaviorName----------------- ----------- ------- ------------True EndToEndMonitoring Trackin... True
Show:
© 2014 Microsoft