You have to have the ntfssecurity powershell module installed, to do that, open powershell and run the command..

Install-Module -Name NTFSSecurity


cd e:\

$ofolders = dir2 -Directory -Recurse #get all folders and subfolders (including long folder paths)

$rr_perms = $ofolders | Get-NTFSAccess -Account rrichardson -ExcludeInherited #get explicit permissions only for a similar user

$gt_perms = $ofolders | Get-NTFSAccess -Account gthompson -ExcludeInherited #get explicit permissions only for a similar user


$rr_perms  #list permissions

$gt_perms  #list permissions


$gt_perms | Add-NTFSAccess -account cyp\djones #apply same pemissions to djones

$rr_perms | Add-NTFSAccess -account cyp\djones #apply same pemissions to djones