ADLS-提取所有文件夹和子文件夹的权限 [英] ADLS - Extract permission for all folders and sub folders

查看:95
本文介绍了ADLS-提取所有文件夹和子文件夹的权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我们湖中有数百个文件夹和子文件夹.如何提取Azure Data Lake Stores中所有文件夹和子文件夹的权限(所有者,分配的权限和其他所有人)?可以通过任何功能强大的脚本来完成此操作吗 外壳程序,如果有人可以共享吗?如果还有其他提取权限并将权限报告写到文件中的方法,也请分享.它花费了太多时间来手动遍历每个文件夹来获得许可. 请分享您的想法.

We have hundreds of folders and sub-folders in our lake.  How can I extract permission (Owners, Assigned Permissions, and  Everyone else) for all folders and sub folders in Azure Data Lake Stores?  Can this be done via any script such power shell, if so can someone share?  Please also share if there are other ways of extracting the permission and write out the permission report to a file.  Its taking way too much time to manually go-over each and every folder to get the permission.  Please share your thoughts.

此致

Balu

Balu R

推荐答案

请查看下面的Power Shell脚本,该脚本可以为您提供帮助.

Please take a look at the below power shell script which should help you out.

https://github.com/Azure/AzureDataLake/blob/master /Samples/PowerShell/Get-AclEntriesRecursive.ps1


这篇关于ADLS-提取所有文件夹和子文件夹的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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