Gets a Microsoft.Web.Adminisration configuration section for a given site and path.
Get-IisConfigurationSection -SectionPath <String> [-Type <Type>] [<CommonParameters>]
Get-IisConfigurationSection -SiteName <String> [-Path <String>] -SectionPath <String> [-Type <Type>] [<CommonParameters>]
Uses the Microsoft.Web.Administration API to get a Microsoft.Web.Administration.ConfigurationSection
.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
SiteName | String | The site where anonymous authentication should be set. | true | false | |
Path | String | The optional site path whose configuration should be returned. | false | false | |
SectionPath | String | The path to the configuration section to return. | true | false | |
Type | Type | The type of object to return. Optional. | false | false | Microsoft.Web.Administration.ConfigurationSection |
Microsoft.Web.Administration.ConfigurationSection.
Get-IisConfigurationSection -SiteName Peanuts -Path Doghouse -Path 'system.webServer/security/authentication/anonymousAuthentication'
Returns a configuration section which represents the Peanuts site's Doghouse path's anonymous authentication settings.