Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

simple - check file, if found how old? if less than a specified hour email alert

$
0
0

Hello All

I'm new to PowerShell and have found a lot of information and examples in the forums but I'm stuck and need quick help.

I need to check a shared drive for specific files - specific suffix actually. If some are there I need to check how old they are, if they are between 0 and 3 hrs old do nothing, but if they are older than that email and alert with the list of files in an email.

I'm wondering if someone has a script that already does this? or close to it and I could modify?

thanks

john


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>