Export (0) Print
Expand All
Expand Minimize

Enable-ASAppDebugTracing

Enable-ASAppDebugTracing

Configures and enables System.Diagnostics tracing in an IIS configuration file.

Syntax

Parameter Set: SiteNameAndVirtualPath
Enable-ASAppDebugTracing [-SiteName] <String> [[-VirtualPath] <String> ] [-FilePath] <String> [-ActivitiesLevel {<Critical> | <Error> | <Information> | <Off> | <Verbose> | <Warning>} ] [-ServiceModelLevel {<Critical> | <Error> | <Information> | <Off> | <Verbose> | <Warning>} ] [-Confirm] [-WhatIf] [ <CommonParameters>]


Parameters

-ActivitiesLevel<DebugTraceLevel>

The severity level at which the System.Activities source will log data.


The acceptable values for this parameter are:

Critical

Error

Information

Off

Verbose

Warning



Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

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

-FilePath<String>

Where the logs will be stored.


Aliases

none

Required?

true

Position?

3

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?

-ServiceModelLevel<DebugTraceLevel>

The level at which the System.ServiceModel source will log.


The acceptable values for this parameter are:

Critical

Error

Information

Off

Verbose

Warning



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?

-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


Outputs

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

  • None


Examples

Show:
© 2014 Microsoft