Section 7.8. List Recently Changed Files


7.8. List Recently Changed Files

To list any files that have been changed within the last day:

     MSH D:\MshScripts> get-childitem -Recurse | where-object     { $_.LastWriteTime -gt (get-date).AddDays(-1) }




Monad Jumpstart
Monad Jumpstart
ISBN: N/A
EAN: N/A
Year: 2005
Pages: 117

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net