且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Powershell脚本在具有权限的嵌套文件夹中在SharePoint中创建记录库。

更新时间:2023-09-12 13:23:04

使用以下PowerShell命令在站点中创建记录库:

Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue

#PowerShell Fuction to Create a Document library in SharePoint

Function Create-DocumentLibrary

{

 Param

 (

  [Microsoft.SharePoint.SPWeb]


Web,

[String]
Web, [String]


LibraryName,

[String]
LibraryName, [String]