Compartilhar via


Remove-WssConfigurationData

Remove-WssConfigurationData

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

Sintaxe

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

Descrição detalhada

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.

Parâmetros

-Force

Força o comando a ser executado sem solicitar a confirmação do usuário.

Aliases

nenhuma

Necessário?

false

Posição?

named

Valor padrão

nenhuma

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

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

nenhuma

Necessário?

false

Posição?

named

Valor padrão

nenhuma

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-Confirm

Solicita que você confirme antes de executar o cmdlet.

Necessário?

false

Posição?

named

Valor padrão

false

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

-WhatIf

Mostra o que aconteceria se o cmdlet fosse executado. O cmdlet não é executado.

Necessário?

false

Posição?

named

Valor padrão

false

Aceitar entrada do pipeline?

false

Aceitar caracteres curinga?

false

<CommonParameters>

Esse cmdlet dá suporte a parâmetros comuns: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Para obter mais informações, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

O tipo de entrada é o tipo dos objetos que você pode canalizar para o cmdlet.

Saídas

O tipo de saída é o tipo de objeto emitido pelo cmdlet.

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

Exemplos

Example 1: Remove configuration data

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

PS C:\> Remove-WssConfigurationData

Tópicos relacionados

Get-WssConfigurationStatus

Start-WssConfigurationService

Test-WssConfigurationOption

Test-WssPrecheckResult