This contains two functions that can be used together to view the Share permissions and the NTFS permissions on each share on a server or servers. You can use the computer parameter or pass the computers through the pipeline to get the information. Output can be exported out to a CSV file as well.

Get-SharePermissions -comp "testserver"

Get-ShareNTFSPermissions -comp "testserver"

 

PowerShell
Edit|Remove
Import-Module FileSharePermissions.psm1