Get-WebConfigurationLocation
Published: February 29, 2012
Updated: August 15, 2012
Applies To: Windows Server 2012
Get-WebConfigurationLocation
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
