Huge file size, owner and age (last accessed) details - Powershell
Posted on 2014-08-29
We have 100+ file shares and each of them are 1.2 TB to 2 TB of size NAS volumes.
We would like to send a report large file size (>100 MB) to users with the details of file name, directory name, size of the file, the owner of the file and last accessed information, may be also the age of file in days from last accessed.
something like below
FileName Directory Size (MB) User ID Age (From Last access - Days) Last Access Date
xyx.zip F:\common\Finance\ 304 DomainA\UserB 368 11/23/2013 10:32 PM
I could get pieces of these information from powershell. But could not get into single script properly.
Appreciate your help.