Remove-WssConfigurationData

Remove-WssConfigurationData

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

Syntax

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

Detailed Description

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.

Parameters

-Force

Forces the command to run without asking for user confirmation.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • 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.

Examples

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