使用Powershell脚本在具有权限的嵌套文件夹中在SharePoint中创建记录库。 [英] Creating a record library in SharePoint with nested folders with permissions using Powershell script.

查看:112
本文介绍了使用Powershell脚本在具有权限的嵌套文件夹中在SharePoint中创建记录库。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个客户要求,有1500名员工,并且要为他们存储记录,需要创建一个包含近80个嵌套文件夹的记录库该文件夹上的组的权限使用SharePoint 2013中的power-shell脚本。

I have a client requirement that there are 1500 employees and for storing records for them, need to create a record library with near about 80 nested folders and separate permission for groups on that folders USING power-shell script in SharePoint 2013.

请建议一种更好的方法,以便将来的权限管理变得容易。

Please suggest a better way so that in future permission management should be easy.

Thnaks

推荐答案

使用以下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]


这篇关于使用Powershell脚本在具有权限的嵌套文件夹中在SharePoint中创建记录库。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆