How to determine Aceflag value

I’m looking over the code at Exporting Share Info and Permissions with PowerShell and CSV files | Windows Stuff That Your Dreams Dreamed Of and I’m not sure what is represented by AceFlags. I get an AceFlag value of 3 when I run the script on the computer but i can’t find what the values of the Aceflags correspond to. Any help is appreciated!

It sounds like you have the solution, but now you are looking for the associated problem. The scripts are about 10 years old and derive from even older scripts. Maybe there is another/younger/better solution for what you want to achieve. . :wink:

This is the documentation for the Win32_SecurityDescriptor class which breaks down the flag values:

1 Like