Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

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

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.


Feedback

Was this page helpful?