Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.58 KB

README.md

File metadata and controls

40 lines (31 loc) · 1.58 KB

Description

ACLTools is a Module that contains the missing Update-ACL cmdlet for PowerShell. The module structure was created using the PSFramework(https://github.com/PowershellFrameworkCollective) by https://github.com/FriedrichWeinmann.

Written by Joshua Corrick (@joshCorr). Licensed under MIT. 2018

Build Status

Development Branch
Master Branch
Released to PowerShell Gallery

Syntax and Use

Update-ACL can be used in a few different ways:

Add, Update, or Remove a specific ACL PS C:\windows\System32> Update-ACL -Path C:\temp\file.txt -Principal 'josh' -Rights ReadAndExecute,ReadPermissions -InheritanceFlag none -PropagationFlag none -Access Allow -UpdateType Add

Set the Owner Update-ACL -Path C:\temp\file.txt -Principal 'josh' -SetAdminOwner

Reset the Inheritance on the item Update-ACL -Path C:\temp\file.txt -Reset

Disable Inheritance on an item or path Update-ACL -Path C:\temp\file.txt -DisableInheritance