Remove-WebSitesConfig

Removes the specified website configuration type.

Syntax

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

Description

The Remove-WebSitesConfig cmdlet removes the specified website configuration type.

Examples

Example 1: Remove a configuration type

PS C:\> Remove-WebSitesConfig -Type "AppHostConfig"

This command removes the AppHostConfig configuration type.

Required Parameters

-Type

Specifies the configuration type. Valid values are:

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

For example:

-Type "SecurityKey"

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

Optional Parameters

-RemoteSettings

{{Fill RemoteSettings Description}}

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

{{Fill SuppressRequestIdLine Description}}

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