Export (0) Print
Expand All
Expand Minimize

Get-WebConfigurationLocation

Windows Server 2012 R2 and Windows 8.1

Updated: February 20, 2014

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft