編輯

共用方式為


Get-WindowsErrorReporting

Retrieves the Windows Error Reporting status.

Syntax

Get-WindowsErrorReporting []

Description

The Get-WindowsErrorReporting cmdlet retrieves 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 gives users 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.

Examples

Example 1: Get the Windows Error Reporting status

PS C:\> Get-WindowsErrorReporting

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

Outputs

String