powershell 快速编辑列表修复
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了powershell 快速编辑列表修复相关的知识,希望对你有一定的参考价值。
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
cls
#set the variables
$url = "https://xxxx/dept/1100/CMDAWARDS/PDQStore"
$listName = "Department"
$viewName = "Active Only"
#get the web, list, view
$web = Get-SPWeb $url
$list = $web.Lists[$listName]
$view = $list.Views | ?{$_.Title -eq $viewName}
#add JSLink
$view.JSLink = "clienttemplates.js"
$view.Update()
$view
以上是关于powershell 快速编辑列表修复的主要内容,如果未能解决你的问题,请参考以下文章
SharePoint PowerShell 从CSV文件导入数据到列表
powershell [在分发列表上启用AuthOrig属性] powershell命令可以编辑ADSI字段authorig #powershell #ADSI #active-d
powershell 这将从sharePoint列表中获取Created By(作者)和Modified By(编辑器)
Eclipse 快速修复
Eclipse 快速修复
PowerShell ComboBox回显填充列表