Skip to content

Latest commit

 

History

History
74 lines (50 loc) · 1.97 KB

File metadata and controls

74 lines (50 loc) · 1.97 KB
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
Select-WebConfiguration

Select-WebConfiguration

SYNOPSIS

Returns IIS configuration objects.

SYNTAX

Select-WebConfiguration [-Filter] <String[]> [<CommonParameters>]

DESCRIPTION

The Select-WebConfiguration cmdlet returns information about Internet Information Services (IIS) configuration objects.

EXAMPLES

Example 1: Get configuration settings

IIS:\> Select-WebConfiguration -Filter "get-config(MACHINE/WEBROOT/APPHOST/testSite)/appSettings"

This command returns the configuration collection from the appSettings location. If the specified location does not exist, the cmdlet returns an error.

PARAMETERS

-Filter

Specifies an XPath filter expression.

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

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
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

RELATED LINKS

Add-WebConfiguration

Backup-WebConfiguration

Clear-WebConfiguration

Get-WebConfiguration

Restore-WebConfiguration

Set-WebConfiguration