Skip to main content

Get permissions for a directory using powershell


 get-acl .\directoryname | format-list

 
Results looks something like


Path   : Microsoft.PowerShell.Core\FileSystem::D:\Personal\directoryname 
Owner  : BUILTIN\Administrators
Group  : IAENG\Domain Users
Access : BUILTIN\Administrators Allow  268435456
         BUILTIN\Administrators Allow  FullControl
         NT AUTHORITY\SYSTEM Allow  FullControl
         BUILTIN\Administrators Allow  FullControl
         COMP\Managers Allow  FullControl


Audit  :
Sddl   : (a bunch of strange characters)

Comments

Popular posts from this blog