description | external help file | Module Name | ms.date | online version | schema | title |
---|---|---|---|---|---|---|
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell. |
Microsoft.WindowsErrorReporting.PowerShell.dll-Help.xml |
WindowsErrorReporting |
12/20/2016 |
2.0.0 |
Enable-WindowsErrorReporting |
Enables Windows Error Reporting.
Enable-WindowsErrorReporting [<CommonParameters>]
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.
PS C:\> Enable-WindowsErrorReporting
This command enables Windows Error Reporting.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
The Enable-WindowsErrorReporting cmdlet returns $True if it is successful. Otherwise, it returns $False.