Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Get-ASAppServiceTracking
Collapse the table of content
Expand the table of content

Get-ASAppServiceTracking

Get-ASAppServiceTracking

Gets metadata for the etwTracking behavior from a Web.config configuration file’s nameless “” behavior. This includes IsTrackingEnabled, ProfileName, IsLocal, and BehaviorName values. Tracking is a feature used to gain visibility into the execution of workflow instances.

Syntax

Parameter Set: SiteNameAndVirtualPath
Get-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 searched.


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

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

  • ServiceTrackingInfo


Examples

Example 1

This cmdlet example shows that tracking is enabled in the root Web.config file by using the HealthMonitoring Tracking Profile.


PS C:\Windows\system32> Get-ASAppServiceTracking –RootIsTrackingEnabled ProfileName IsLocal---------------- ----------- -------True HealthMonitoring Tracking True

Example 2

This cmdlet example shows that tracking is enabled in the Web.config file by using the HealthMonitoring Tracking Profile for the MyWorkflowApp application.


PS C:\Windows\system32> Get-ASAppServiceTracking -Sitename "Default Web Site" -VirtualPath "/MyWorkflowApp"IsTrackingEnabled ProfileName IsLocal---------------- ----------- -------True HealthMonitoring Tracking ... True
Show:
© 2015 Microsoft