Get-WebSitesConfig

Gets information about a specified website configuration type.

Syntax

Get-WebSitesConfig [-Type] <WebSitesConfigTypes> [-RemoteSettings <RemoteSettings>] [-SuppressRequestIdLine]
 [<CommonParameters>]

Description

The Get-WebSitesConfig cmdlet returns information about a specified website configuration type.

Examples

Example 1: Get a configuration type

PS C:\> Get-WebSitesConfig -Type "AppHostConfig"
This command gets information about the AppHostConfig configuration type.

Parameters

-RemoteSettings

{{Fill RemoteSettings Description}}

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

-SuppressRequestIdLine

{{Fill SuppressRequestIdLine Description}}

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

-Type

Specifies the configuration type.
Valid values are:

- AppHostConfig
- ConfigFile
- DefaultAppHostConfig
- RootWebConfig
- DefaultRootWebConfig
- RestAdmin
- Global
- Credential
- Metering
- Security
- SecurityKey
- CredentialCertificate

For example:

-Type "AppHostConfig"

Type:WebSitesConfigTypes
Parameter Sets:AppHostConfig, ConfigFile, DefaultAppHostConfig, RootWebConfig, DefaultRootWebConfig, RestAdmin, Global, Credential, Metering, Security, SecurityKey, CentralCertificate
Required:True
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False