一统 发表于 2012-12-29 11:19:31

SharePoint 2010 PowerShell 系列 之 文档管理 初级应用

<div id="cnblogs_post_body">PowerShell系列目录
      经过最近几天的查询与搜索,研究与学习对PowerShell 文档管理有了新的认识,特别写两篇文章来介绍用PowerShell管理文档库,通过测试与研究,通过PowerShell上传文档速度是相当快的,对初始化文档库有着举足轻重的作用,下面来一一讲解具体的应用方法。
第一:创建一个文档库,创建文档库与列表的方法一样,下面是介绍如何创建文档库的方法
<div class="cnblogs_code">Function AddList($web,$listName,$listDescription,$listTemplate){    Write-host ".............Starting create " $listName ",please waiting............." -foregroundcolor yellow    $web.Lists.Add($listName,$listDescription,$listTemplate)    Write-host ".............. " $listName " already is created......................." -foregroundcolor green}
页: [1]
查看完整版本: SharePoint 2010 PowerShell 系列 之 文档管理 初级应用