There's a million ways to do it. Here is one:
Get-ChildItem -recurse | ForEach-Object {
$acl = $_ | Get-Acl
$_ | Add-Member -name Owner -value $acl.Owner -memberType noteproperty
$_ | Add-Member -name ACL -value $acl.AccessToString -memberType noteproperty
$_ | Select-Object Fullname, Owner, ACL
} | Format-List Output:
FullName : C:\Documents and Settings\hrottenberg\My Documents\WindowsPowerShell\scrip <br> ts\book\ch5\new-vm.PS1 <br> Owner : ADMIN\hrottenberg <br> ACL : BUILTIN\Administrators Allow FullControl <br> NT AUTHORITY\SYSTEM Allow FullControl <br> ADMIN\hrottenberg Allow FullControl <br> BUILTIN\Users Allow ReadAndExecute, Synchronize <br> <br> FullName : C:\Documents and Settings\hrottenberg\My Documents\WindowsPowerShell\scrip <br> ts\book\ch5\Set-VMStartOrder.PS1 <br> Owner : ADMIN\hrottenberg <br> ACL : BUILTIN\Administrators Allow FullControl <br> NT AUTHORITY\SYSTEM Allow FullControl <br> ADMIN\hrottenberg Allow FullControl <br> BUILTIN\Users Allow ReadAndExecute, Synchronize