description | external help file | Module Name | ms.date | online version | schema | title |
---|---|---|---|---|---|---|
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell. |
Microsoft.IIS.PowerShell.Provider.dll-Help.xml |
WebAdministration |
12/27/2016 |
2.0.0 |
Get-WebConfigurationLocation |
Gets the location of a configuration setting.
Get-WebConfigurationLocation [[-Name] <String>] [-Recurse] [[-PSPath] <String[]>] [<CommonParameters>]
The Get-WebConfigurationLocation cmdlet gets the location of a specified configuration setting.
IIS:\> Get-WebConfigurationLocation
This command returns all locations that are configured by using location tags.
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
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
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.