Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-WebConfigurationLocation

Last Updated: 3/8/2017

SYNOPSIS

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
Parameter Sets: (All)
Aliases: 

Required: False
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-PSPath

Specifies an IIS configuration path to the location.

Type: String[]
Parameter Sets: (All)
Aliases: 

Required: False
Position: 1
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.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Remove-WebConfigurationLocation

Rename-WebConfigurationLocation

© 2017 Microsoft