Using PowerShell to change folder permissions.

huangapple go评论60阅读模式
英文:

Using powershell for change folder permissions

问题

我想更改文件夹权限或以这些权限创建文件夹,实际上并不重要。我想删除除了系统之外的所有人的权限。

我在互联网上做了一些研究,但结果并不理想。

英文:

I want to change folder permissions or create folder with this permissions it doesn't really matter. I would like to delete permissions for everyone except SYSTEM.

I tried some research on internet, but it didn't give good result.

答案1

得分: 1

A quick google search leads to Get-ACL and Set-ACL.

A guide for your task:
https://petri.com/how-to-use-powershell-to-manage-folder-permissions/

英文:

A quick google search leads to Get-ACL and Set-ACL

A guide for your task:
https://petri.com/how-to-use-powershell-to-manage-folder-permissions/

huangapple
  • 本文由 发表于 2023年4月19日 19:04:22
  • 转载请务必保留本文链接:https://go.coder-hub.com/76053749.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定