Salaudeen Rajack

Salaudeen Rajack - SharePoint Expert with Two decades of SharePoint Experience. Love to Share my knowledge and experience with the SharePoint community, through real-time articles!

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

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

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

    Reply
  • 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

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

    Reply

Leave a Reply

Your email address will not be published.