Remove-WebSitesConfig
指定した Web サイト構成の種類を削除します。
構文
Remove-WebSitesConfig
[-Type] <WebSitesConfigTypes>
[-RemoteSettings <RemoteSettings>]
[-SuppressRequestIdLine]
[<CommonParameters>]
説明
Remove-WebSitesConfig コマンドレットは、指定された Web サイト構成の種類を削除します。
例
例 1: 構成の種類を削除する
PS C:\> Remove-WebSitesConfig -Type "AppHostConfig"
このコマンドは、AppHostConfig 構成の種類を削除します。
パラメーター
-RemoteSettings
{{Fill RemoteSettings Description}}
Type: | RemoteSettings |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SuppressRequestIdLine
{{Fill SuppressRequestIdLine Description}}
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Type
構成の種類を指定します。 有効な値は次のとおりです。
- AppHostConfig
- ConfigFile
- DefaultAppHostConfig
- RootWebConfig
- DefaultRootWebConfig
- RestAdmin
- グローバル
- 資格情報
- 測定
- セキュリティ
- SecurityKey
- CredentialCertificate
次に例を示します。
-Type "SecurityKey"
Type: | WebSitesConfigTypes |
Accepted values: | AppHostConfig, ConfigFile, DefaultAppHostConfig, RootWebConfig, DefaultRootWebConfig, RestAdmin, Global, Credential, Metering, Security, SecurityKey, CentralCertificate |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |