Enable-WindowsErrorReporting
Enables Windows Error Reporting.
Syntax
Enable-WindowsErrorReporting []
Description
The Enable-WindowsErrorReporting cmdlet enables Windows Error Reporting (WER) on 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.
To get the current WER status, use the Get-WindowsErrorReporting cmdlet. If you enable WER, you can use the Disable-WindowsErrorReporting cmdlet to disable it. After you run this cmdlet, WER no longer sends information about application failures to Microsoft.
Examples
Example 1: Enable Windows Error Reporting
PS C:\> Enable-WindowsErrorReporting
This command enables Windows Error Reporting.
Outputs
The Enable-WindowsErrorReporting cmdlet returns $True if it is successful. Otherwise, it returns $False.
Related Links
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈