Clear-WindowsDiagnosticData
Sends a request to delete all uploaded diagnostic data sent to Microsoft from the current device.
Syntax
Clear-WindowsDiagnosticData
[-Force]
[<CommonParameters>]
Description
Sends a request to delete the uploaded diagnostic data sent to Microsoft from the current device. This cmdlet is only supported on Windows Server 2016 and later.
Examples
EXAMPLE 1
Clear-WindowsDiagnosticData
EXAMPLE 2
Clear-WindowsDiagnosticData -Force
Parameters
-Force
The cmdlet will run without asking for confirmation.
Type: | SwitchParameter |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för