- ScientistZKeymasterJune 25, 2018 at 2:51 pmPost count: 44
How to get SharePoint 2013/2016 logs using Merge-SPLogFile
The main command to get the logs is as below:
Merge-SPLogFile -Path “C:\Logs\Logs.log”
But usually we need the logs for specific time, please use below command on power shell to get the merged logs.
Make sure to have Logs folder exits in C drive before proceeding.
Merge-SPLogFile -Path “C:\Logs\MergeLogs.log” -Overwrite -StartTime “06/25/2018 10:00” -EndTime “06/25/2018 16:40”
It will take few minutes to get the full logs file
For more information check : https://docs.microsoft.com/en-us/powershell/module/sharepoint-server/merge-splogfile?view=sharepoint-ps
You must be logged in to reply to this topic.