Enable-WindowsErrorReporting

Enable-WindowsErrorReporting

Enables Windows Error Reporting.

Sintassi

Enable-WindowsErrorReporting [ <CommonParameters>]

Descrizione dettagliata

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 provides users with 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.

Parametri

<CommonParameters>

Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere   about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Input

Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.

Output

Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.

  • System.Boolean

    The Enable-WindowsErrorReporting cmdlet returns $True if successful; otherwise, it returns $False.

Esempi

Example 1: Enable Windows Error Reporting

This command enables Windows Error Reporting.

PS C:\> Enable-WindowsErrorReporting

Argomenti correlati

Disable-WindowsErrorReporting

Get-WindowsErrorReporting