title: Using get-children to list files with lastwritetime
body: <p>With these lines of code:</p>
  
  <pre><code>get-childitem -Path d:\scripts –recurse | 
  where-object {$_.lastwritetime -gt (get-date).addDays(-1)} |
  Foreach-Object { $_.FullName }
  </code></pre>
  
  <p>I get a list of everything under the d:\scripts directory that is less than 1 day old in time stamp. Output:</p>
  
  <pre><code>D:\scripts\Data_Files
  D:\scripts\Power_Shell
  D:\scripts\Data_Files\BackUp_Test.txt
  D:\scripts\Power_Shell\archive_test_1dayInterval.ps1
  D:\scripts\Power_Shell\stop_outlook.ps1
  D:\scripts\Power_Shell\test.ps1
  D:\scripts\WinZip\test.wjf
  </code></pre>
  
  <p>The deal is, the file folders (Data_Files &amp; Power_Shell) have a last write with in the date param. I just want the files as in lines 3 - 7 in output. </p>
  
  <p>Suggestions?</p>