Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Please Help! Failure in getting both ACL info and Fullname, CreationTime, and Length of File

$
0
0

Hello,

I am trying to get the owner's name, file name, creation time and the length of the file.  When I put the following in, all I get back are the headers "Fullname", "CreationTime", "Length." If I had my druthers, this would also allow me to do this for a particular date.  What am I doing wrong here?  Any help is much appreciated.

get-childitem R:\ -recurse | ForEach-Object {get-acl $_.FullName} | Where {$_.Owner -Match 'mike.smith'} | Select-Object Fullname, CreationTime, Length | Out-File c:\users\frank.thomas1\desktop\mike.smith.csv

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles