none
enable Editing users and permissions RRS feed

  • Question

  • hi 

    i have the following code, but i don't know how to use it for checking the editing users and permissions on the configure audit settings

    Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue $SiteCollURL="http://intranet.crescent.com"#Get the site collection $Site = Get-SPSite $SiteCollURL#Define Audit Events $AuditLogEvents = "Delete", "Update"$Site.Audit.AuditFlags = $AuditLogEvents$Site.Audit.Update() #Set Trimming Options $Site.TrimAuditLog = $TRUE$Site.AuditLogTrimmingRetention = 10

    please help me with it

    thanks

    Mohammad

    Thursday, May 16, 2019 6:10 PM

All replies