SharePoint 2010/2013/2016 Audit Log Trimming

Posted on Leave a commentPosted in SharePoint Server

In this blog we see how to trim the SharePoint 2010/2013/2016 audit logs. We need to trim logs when storage is full, this is due to we didn’t implement a proper trimming of Audit logs, you can use below PowerShell command to delete them: $site = Get-SPSite¬†https://yoursite.yourdomain.com $date = Get-Date “04/10/2017” $site.Audit.DeleteEntries($date) You need to […]