Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

6 thoughts on “Configure Audit Settings for SharePoint 2013 Sites using PowerShell

  • June 1, 2021 at 5:52 PM

    can you only enable auditing for a specific events such security/permission changes? Thanks!

  • May 28, 2020 at 8:13 PM

    hi, thanks for the script.
    how do i set the location to store audit reports

  • April 19, 2018 at 8:22 PM

    We are finding that when running this from a ps session from a remote server (non-shareoint)connecting to sharepoint server this does not work.

    Exception setting “AuditLogTrimmingRetention”: “Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))”
    At line:9 char:1
    + $_.AuditLogTrimmingRetention = 30
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
    + FullyQualifiedErrorId : ExceptionWhenSetting

  • February 3, 2017 at 3:58 PM

    Is there a way to enable Auditing at the list and library level of Information Management Policy Settings?


Leave a Reply