1-949-407-5125

How to Get It

Native Tools
1. Open Powershell ISE.
2. Create new script with the following code (Define “OutFile” and “RootPath” fields):
$OutFile = "C:\temp\Permissions1.csv" # Insert folder path where you want to save your file and its name
$Header = "Folder Path,IdentityReference,AccessControlType,IsInherited,InheritanceFlags,PropagationFlags"
$FileExist = Test-Path $OutFile 
If ($FileExist -eq $True) {Del $OutFile} 
Add-Content -Value $Header -Path $OutFile 

$RootPath = "\\server\share" # Insert your share path

$Folders = dir $RootPath -recurse | where {$_.psiscontainer -eq $true}

foreach ($Folder in $Folders){
	$ACLs = get-acl $Folder.fullname | ForEach-Object { $_.Access  }
	Foreach ($ACL in $ACLs){
	$OutInfo = $Folder.Fullname + "," + $ACL.IdentityReference  + "," + $ACL.AccessControlType + "," + $ACL.IsInherited + "," + $ACL.InheritanceFlags + "," + $ACL.PropagationFlags
	Add-Content -Value $OutInfo -Path $OutFile 
	}} 
3. Run the script.
4. Open the file produced by the script in MS Excel.
5. Report Example:
Netwrix Auditor
1. Run Netwrix Auditor.
2. Navigate to Reports → File Servers → File Servers – State-in-Time → Select “Object Permissions by Object” report → Click “View” → Define the following filters:
  • “Folder UNC Path:” – path to your file share (Example: “\\server\share”)
  • “Users Permissions Inheritance:” Set to “All”.
3. Click “View Report”.
4. Click “Export” button → PDF → Click “Save As” → Select where you want to save the file and enter its name → Click “Save”.
5. Report Example: