Forum Discussion
Cole_McDonald
6 years agoProfessor
My ability to edit the previous post timed out (annoying)... here's the final thing I was going for:
if (get-date -format HH -eq 10) { if ( test-path "\\servername\C$\Path\To\File.txt" ) { write-output "1" } else { write-output "0" } }
Just checks the 24hr Hour to see if it's 10. Have it fire once an hour.
Related Content
- 2 months ago
- 2 years ago
- 12 months ago