【发布时间】:2020-07-28 11:06:03
【问题描述】:
我的 OneDrive 子焊盘中有 3 个文件,例如“Documens/TopFolder/SubFolder”
我可以在这个子文件夹中列出 3 个文件使用
Get-PnPFolder -FolderRelativeUrl "Documens/TopFolder/SubFolder"
File1.xlsx File2.xlsx File3.xlsx
现在我想与 3 个不同的用户共享这 3 个文件,比如说
- 文件 1 与 User1@abc.com
- 文件 2 与 User2@abc.com
- 文件 3 与 User3@abc.com
我是组织中的用户,因此我没有共享点的管理员访问权限。我刚开始学习powershell。
问题是:
如何将这3个文件放入
Get-PnPListItem?如何使用 windows powershell 为每个文件授予权限?
如何获取每个文件的匿名 weburl 链接以与个人用户共享?
【问题讨论】:
标签: powershell sharepoint file-permissions onedrive