Export (0) Print
Expand All

Logging and events cmdlets in SharePoint 2013

 

Applies to: SharePoint Server 2013, SharePoint Foundation 2013

Topic Last Modified: 2013-12-18

Summary:Lists Windows PowerShell cmdlets that enable you to log system events and perform diagnostics in SharePoint 2013.

You can use Windows PowerShell cmdlets to log system events and perform diagnostics.

Index of Windows PowerShell cmdlets for SharePoint 2013 includes a complete list of all cmdlets in SharePoint 2013.

 

Cmdlet name Description

Clear-SPLogLevel

Resets the Windows trace logging and event logging levels to their default values.

Get-SPLogLevel

Returns a list of objects or diagnostic levels.

Set-SPLogLevel

Sets the trace and event level for a set of categories.

Get-SPLogEvent

Returns results from a Unified Logging Service (ULS) trace log.

Get-SPDiagnosticConfig

Retrieves ULS diagnostic configuration values of the farm.

Get-SPDiagnosticsProvider

Returns a diagnostics provider.

Merge-SPLogFile

Combines trace log entries from all farm computers into a single log file on the local computer.

New-SPLogFile

Creates a new log file.

New-SPUsageLogFile

Starts a new usage log file on the current server computer.

Set-SPDiagnosticConfig

Sets diagnostic configuration settings on the farm.

Set-SPDiagnosticsProvider

Enables a diagnostics provider and updates its retention policy.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft