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