启用编辑用户和权限 [英] enable Editing users and permissions
问题描述
hi
我有以下代码,但我不知道如何使用它来检查配置审核设置的编辑用户和权限
Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue
$ SiteCollURL = " http://intranet.crescent.com" #获取网站集
$ Site = Get-SPSite $ SiteCollURL #Define Audit Events
$ AuditLogEvents = " Delete" ," Update" $ Site .Audit.AuditFlags = $ AuditLogEvents $ Site .Audit.Update()
#Set trim选项s
$ Site .TrimAuditLog = $ TRUE $ Site .AuditLogTrimmingRetention = 10
请帮帮我
谢谢
Mohammad
您可以查看以下内容
http://www.sharepointdiary.com/2015/07/enable-audit-logs-in -sharepoint-2013-using-powershell.html
https://social.technet.microsoft.com/wiki/contents/articles/23900.sharepoint-get-audits-for-a-document -using-powershell.aspx 一>
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
You can check the below
http://www.sharepointdiary.com/2015/07/enable-audit-logs-in-sharepoint-2013-using-powershell.html
https://social.technet.microsoft.com/wiki/contents/articles/23900.sharepoint-get-audits-for-a-document-using-powershell.aspx
这篇关于启用编辑用户和权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!