Find out most recent last saved time for a file in a directory tree - windows server 2008R2

I have a bunch of directories (all with multiple levels of sub-directories). I want to find out which directory (including the sub-dirs) is used the least, by when was the last time a file was saved in any of its sub-directories.

Basically, I want to know the most recent time a file was saved in a directory tree.

Using Windows Server 2008R2.
freshgrillAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
NavdeepConnect With a Mentor Commented:
Hi,

You can use powershell command for this

Get-childItem -Path p:\temp -Recurse | Select Name, LastAccessTime, LastWriteTime, DirectoryName

You can also export the data to csv file
Get-childItem -Path p:\temp -Recurse | Select Name, LastAccessTime, LastWriteTime, DirectoryName | export-csv -path FilePath -notypeinformation
0
 
David Johnson, CD, MVPOwnerCommented:
look for the modified date
0
All Courses

From novice to tech pro — start learning today.