Get-WindowsErrorReporting

Get-WindowsErrorReporting

Gets the Windows Error Reporting status.

Syntax

Get-WindowsErrorReporting [ <CommonParameters>]

Detailed Description

The Get-WindowsErrorReporting cmdlet gets the Windows Error Reporting (WER) status for the server.

Windows Error Reporting is a flexible feedback infrastructure that gathers information about hardware and software problems, reports the information to Microsoft, and provides users with any available solutions. Windows Error Reporting generates reports in response to system events, such as application crashes or kernel faults.

Use Enable-WindowsErrorReporting to enable Windows Error Reporting. After you enable it, WER sends information about application failures to Microsoft. Use Disable-WindowsErrorReporting to disable WER.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.String

Examples

Example 1: Get the Windows Error Reporting status

This command gets the Windows Error Reporting status, which is either enabled or disabled.

PS C:\> Get-WindowsErrorReporting

Enable-WindowsErrorReporting

Disable-WindowsErrorReporting