Export (0) Print
Expand All
Expand Minimize

Get-WebConfigurationLocation

Windows Server 2012 R2 and Windows 8.1

Get-WebConfigurationLocation

Gets the location of a configuration setting.

Syntax

Parameter Set: Default
Get-WebConfigurationLocation [[-PSPath] <String[]> ] [[-Name] <String> ] [-Recurse] [ <CommonParameters>]




Detailed Description

The Get-WebConfigurationLocation cmdlet gets the location of a specified configuration setting.

Parameters

-Name<String>

Specifies the name of the configuration location. If you do not specify this parameter, this cmdlet gets all locations.


Aliases

none

Required?

false

Position?

3

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-PSPath<String[]>

Specifies an IIS configuration path to the location.


Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-Recurse

Indicates that this cmdlet returns locations within the hierarchy of the specified location.


Aliases

none

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 (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Examples

Example 1: Get location tags

This command returns all locations that are configured by using location tags.


IIS:\>Get-WebConfigurationLocation

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft