View difference between Paste ID: ivBjPn6S and vCdD9hCC
SHOW: | | - or go back to the newest paste.
1-
Get-ChildItem -Recurse | ForEach-Object {$_ | add-member -name "Owner" -membertype noteproperty -value (get-acl $_.fullname).owner -passthru} | Sort-Object fullname | Select Name,Length | Export-Csv -Force -NoTypeInformation "test.csv"
1+
Get-ChildItem | ForEach-Object {$_ | add-member -name "Owner" -membertype noteproperty -value (get-acl $_.fullname).owner -passthru} | Sort-Object fullname | Select FullName,Length | Export-Csv -Force -NoTypeInformation "test.csv"