Monad Jumpstart

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) }

Категории