Remove-WssConfigurationData
Remove-WssConfigurationData
Removes data, scheduled tasks, and log files and disables the Windows Server Essential Experience role.
Sintaxis
Parameter Set: Default
Remove-WssConfigurationData [-Force] [-ValidateOnly] [-Confirm] [-WhatIf] [ <CommonParameters>]
Descripción detallada
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
Fuerza que el comando se ejecute sin pedir confirmación al usuario.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
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.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-Confirm
Solicita confirmación antes de ejecutar el cmdlet.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-WhatIf
Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
Salidas
El tipo de resultado es el tipo de objetos que emite el 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.
Ejemplos
Example 1: Remove configuration data
This command removes the configuration data and disables the Windows Server Essential Experience role.
PS C:\> Remove-WssConfigurationData