Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Check certain files not amended by date

$
0
0

Hi

I would like to check a folder which contains files to see if certain files have been edited within 14 days.  Ideally I would like to use a CSV file or INI file of sorts that I can import that contains the name of the files that I would like to check.  For any files that have not been amended within 14 days, I would then like to send an email which contains the name of the files and the date that they were last edited.  

Im getting lost at bringing the list of files into an array and then checking each one, performing the logic against it and then outputting that into another array or log file and then sending an email out.

Many thanks

JN

 

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles