【发布时间】:2015-09-29 08:56:48
【问题描述】:
我正在使用这里的脚本
http://blog.kuppens-switsers.net/sharepoint/finding-cewps-with-script-in-your-sharepoint-sites/
而且我不理解脚本的特定部分。在这部分
# Libraries and lists have views and forms which can contain webparts... let's get them also
$lists = $web.GetListsOfType("DocumentLibrary") | ? {$_.IsCatalog -eq $false}
| ? {$_.IsCatalog -eq $false} 到底是什么意思?如果可能的话,有人知道为什么这个人选择只检查文档库吗?
脚本的重点是,它会扫描所有内容编辑器 Web 部件并检查其内容是否有任何脚本标签。
谢谢
【问题讨论】:
标签: powershell sharepoint syntax