Get-WebConfigurationLocation
Gets the location of a configuration setting.
Syntax
Get-WebConfigurationLocation
[[-Name] <String>]
[-Recurse]
[[-PSPath] <String[]>]
[<CommonParameters>]
Description
The Get-WebConfigurationLocation cmdlet gets the location of a specified configuration setting.
Examples
Example 1: Get location tags
IIS:\> Get-WebConfigurationLocation
This command returns all locations that are configured by using location tags.
Parameters
-Name
Specifies the name of the configuration location. If you do not specify this parameter, this cmdlet gets all locations.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-PSPath
Specifies an IIS configuration path to the location.
Type: | String[] |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Recurse
Indicates that this cmdlet returns locations within the hierarchy of the specified location.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |