powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Select-WebConfiguration



NAME
Select-WebConfiguration

SYNOPSIS
Returns Web configuration objects.

SYNTAX
Select-WebConfiguration [-Filter] [-WarningAction ] [-WarningVariable ] [ onParameters>]


DESCRIPTION
Returns Web configuration objects.


PARAMETERS
-Filter
An XPath filter.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-WarningAction


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES




-------------- EXAMPLE 1: Getting configuration settings --------------

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


Returns the appSettings collection. The location specified must exist or an error is returned.






RELATED LINKS