New-WebSitesConfig

Creates a website configuration type.

Syntax

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

Description

The New-WebSitesConfig cmdlet creates a website configuration type.

Examples

Example 1: Create a configuration type

PS C:\> New-WebSitesConfig -Type "Global"

This command creates a global 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 "ConfigFile"

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