Clear-WindowsDiagnosticData
Sends a request to delete all uploaded diagnostic data sent to Microsoft from the current device.
Syntax
Default (Default)
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.
Parameter properties
| Type: | SwitchParameter |
| Default value: | False |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.