Something like this?
$path = "C:\Temp"
$rpt = "c:\temp\output.txt"
"Permissions for $path" | out-file $rpt
(Get-Acl -Path "c:\temp" -Filter *).access | select-object -Property IdentityReference,Filesystemrights,Accesscontroltype | out-file $rpt -append
get-content $rpt