Remove-WssConfigurationData

Remove-WssConfigurationData

Removes data, scheduled tasks, and log files and disables the Windows Server Essential Experience role.

構文

Parameter Set: Default
Remove-WssConfigurationData [-Force] [-ValidateOnly] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Remove-WssConfigurationData cmdlet removes data, scheduled tasks, and log files that the Windows Server Essential Experience role uses. After you run this cmdlet, you can then remove the Windows Server Essential Experience role.

パラメーター

-Force

ユーザーの確認を求めずにコマンドを強制的に実行します。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ValidateOnly

Indicates that the cmdlet validates that the Windows Server Essential Experience role is configured on the target server. Use this parameter to determine if you must remove the configuration data before you can remove the Windows Server Essential Experience role.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • System.Boolean, Microsoft.WindowsServerSolutions.Setup.ICCommon.StatusInfo

    This cmdlet generates either a Boolean value or a StatusInfo object. If you specify the ValidateOnly parameter, the cmdlet responds with whether the target server qualifies to run cleanup. If you do not specify the ValidateOnly parameter, the cmdlet provides the service configuration status.

Example 1: Remove configuration data

This command removes the configuration data and disables the Windows Server Essential Experience role.

PS C:\> Remove-WssConfigurationData

関連トピック

Get-WssConfigurationStatus

Start-WssConfigurationService

Test-WssConfigurationOption

Test-WssPrecheckResult