Freigeben über


Get-WebConfigurationLocation

Get-WebConfigurationLocation

Gets the location of a specified configuration setting.

Syntax

Get-WebConfigurationLocation [[-Name] <String>] [-Recurse] [[-PSPath] <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Detailed Description

Gets the location of a specified configuration setting.

Parameters

-Name <String>

Specifies the name of the configuration location. All locations are returned if the Name parameter is not specified.

Attributes

Name Value

Required?

False

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByPropertyName)

Position?

3

-Recurse <SwitchParameter>

If the Recurse parameter is used, locations within the hierarchy of the specified location are also returned.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-PSPath <String[]>

An IIS configuration path to the location.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByPropertyName)

Position?

2

-WarningAction <ActionPreference>

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-WarningVariable <String>

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-CommonParameter

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see About Common Parameter

Input and Return Types

The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.

Input Type

.

Return Type

.

Notes

Examples

EXAMPLE 1: Getting location tags

IIS:\>Get-WebConfigurationLocation

Returns all locations that are configured by using location tags.