Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Get-WebConfigurationLocation

Published: February 29, 2012

Updated: August 15, 2012

Applies To: Windows Server 2012

Get-WebConfigurationLocation

Gets the location of a specified configuration setting.

Syntax

Parameter Set: Default
Get-WebConfigurationLocation [[-PSPath] <String[]> ] [[-Name] <String> ] [-Recurse] [ <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 theNameparameter is not specified.


Aliases

none

Required?

false

Position?

3

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-PSPath<String[]>

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

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


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.

Examples

-------------- EXAMPLE 1: Get location tags --------------

Returns all locations that are configured by using location tags.


IIS:\>Get-WebConfigurationLocation

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.