Powershell:Folder permission

I would like to use powershell to script out folder permissions in the following format (CSV)

Foldername                      Users/Group                            Permission                           Isinherit              FolderOwner      

February 12th, 2015 12:58pm

Hi Sakurai,

you'll probably like the Cmdlets Get-Acl, Select-Object and Get-ChildItem for that.

Good luck with the scripting :)

Cheers,
Fred

Free Windows Admin Tool Kit Click here and download it now
February 12th, 2015 1:30pm

Hi there,

try this module: https://gallery.technet.microsoft.com/scriptcenter/1abd77a5-9c0b-4a2b-acef-90dbb2b84e85

February 12th, 2015 1:50pm

seems good~ but still some duplicate...Account                             Access Rights         Applies to                Type             
-------                             -------------         ----------                ----                      
BUILTIN\Administrators              FullControl           ThisFolderOnly            Allow                                 
BUILTIN\Administrators              GenericAll            SubfoldersAndFilesOnly    Allow                                 
NT AUTHORITY\SYSTEM                 FullControl           ThisFolderOnly            Allow                                
NT AUTHORITY\SYSTEM                 GenericAll            SubfoldersAndFilesOnly    Allow                                 
BUILTIN\Users                       ReadAndExecute, Sy... ThisFolderSubfoldersAn... Allow                               
NT AUTHORITY\Authenticated Users    Modify, Synchronize   ThisFolderOnly            Allow                              
NT AUTHORITY\Authenticated Users    Delete, GenericExe... SubfoldersAndFilesOnly    Allow      GENERICALL
Free Windows Admin Tool Kit Click here and download it now
February 13th, 2015 5:37am

What about the version 4.0 preview from this module?
February 13th, 2015 5:47am

Hi Sakurai,

well ... those are very different permissions (check out the "Applies to" column), so they get listed in separate entries.

Cheers,
Fred

Free Windows Admin Tool Kit Click here and download it now
February 13th, 2015 11:07am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics