Recursive Listing of Files by Date



Using powershell to recursively list files modified before or after a certain date is an easy one line powershell script.

1
get-childitem -Recurse |where {$_.lastwritetime -gt (date).adddays(-10)}

or to list by a certain date:

1
 get-childitem -Recurse |where {$_.lastwritetime -gt "10/2/09"}

,

  1. No comments yet.
(will not be published)