Link to home
Start Free TrialLog in
Avatar of davesnb
davesnbFlag for Canada

asked on

powershell detect overwritten files

Is there a way to find files that have been replaced by older files?  For example , I am using a simple gci ( get-childitem) to find all files with certain extensions  where last modified date is greater than yesterday's date. How would I find any new files that may have gotten overwritten by older files . Ie , someone that accidentally overwrites a config file with an older file of the same name.  is that possible in powershell using get-childitem or other ?
Avatar of footech
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of davesnb


OK thanks for the clarification.