获取详细信息 [英] To Get Details
问题描述
Hi Team,
根据以下脚本,我得到输出网站级别。
Add-PSSnapin Microsoft.sharepoint.powershell - 跨度> ErrorAction  SilentlyContinue 
$ Webapp = " http: //contoso.com"
$ site = 获取 - SPSite - webapplication $ Webapp - 限制所有
$ site | 获取 - SpWeb - 限制所有 | Format-Table - 属性 LastItemModifiedDate,URL,created,title - AutoSize | Out-string - width 3000 > C:/output_webapp.txt
您好,
您可以参考以下文章:
< a href ="http://mstechtalk.com/get-sharepoint-list-inventory-using-powershell/"> http://mstechtalk.com/get-sharepoint-list-inventory-using-powershell/
https://sharepoint.stackexchange .com / questions / 93190 / script-to-find-last-modified-files
注意:
如果你想获取已在网站下修改的列表/文档/页面列表,它将列出所有列表/库/页面,只要您创建(即使您从未修改过)。
对于您的代码,我找不到显示"修改者"的属性。属性。如果您还想知道"修改者",属性,我建议你使用下面文章中的命令,它更容易:
祝你好运,
Hi Team,
Based on below script, i got output sites level.
Add-PSSnapin Microsoft.sharepoint.powershell -ErrorAction SilentlyContinue $Webapp = "http://contoso.com" $site = Get-SPSite -webapplication $Webapp -Limit All $site | Get-SpWeb -Limit All | Format-Table -Property LastItemModifiedDate,URL,created,title -AutoSize | Out-string -width 3000 >C:/output_webapp.txt
Hi,
You can refer to below articles:
http://mstechtalk.com/get-sharepoint-list-inventory-using-powershell/
https://sharepoint.stackexchange.com/questions/93190/script-to-find-last-modified-files
Note:
If you want to get a list of list/document/page that has been modified under a site, it will list all lists/libraries/pages, as long as you create(even if you have never modified).
For your code, I cannot find a property to display the "modified by" property. If you also want to know the "modified by" property, I would suggest you use commands in below article, it is easier:
Best regards,
这篇关于获取详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!