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>]
Detaillierte Beschreibung
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.
Parameter
-Force
Erzwingt, dass der Befehl ohne Benutzerbestätigung ausgeführt wird.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
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.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-Confirm
Sie werden vor dem Ausführen des Cmdlets zur Bestätigung aufgefordert.
Erforderlich? |
false |
Position? |
named |
Standardwert |
falsch |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-WhatIf
Zeigt, was geschieht, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.
Erforderlich? |
false |
Position? |
named |
Standardwert |
falsch |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
<CommonParameters>
Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Eingaben
Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.
Ausgaben
Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.
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.
Beispiele
Example 1: Remove configuration data
This command removes the configuration data and disables the Windows Server Essential Experience role.
PS C:\> Remove-WssConfigurationData