Logging and events cmdlets (SharePoint Foundation 2010)
Published: May 12, 2010
You can use Windows PowerShell cmdlets to log system events and perform diagnostics.
| Cmdlet name | Description |
|---|---|
| Resets the Windows trace logging and event logging levels to their default values. | |
| Returns a list of objects or diagnostic levels. | |
| Sets the trace and event level for a set of categories. | |
| Returns results from a Unified Logging Service (ULS) trace log. | |
| Retrieves ULS diagnostic configuration values of the farm. | |
| Returns a diagnostics provider. | |
| Combines trace log entries from all farm computers into a single log file on the local computer. | |
| Creates a new log file. | |
| Starts a new usage log file on the current server computer. | |
| Sets diagnostic configuration settings on the farm. | |
| Enables a diagnostics provider and updates its retention policy. |
Change History
| Date | Description |
|---|---|
| May 12, 2010 | Initial publication |
