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.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for