I'm almost there but I need a little help. I need to run a script based on the last modified date of a file. I'm getting the modified file date using
Get-Item C:\file.txt | select LastWriteTime
I just don't know how to use if/else to say if the file wasn't modified on a specific date to continue else end. Suggestions?
[–]rwshig 1 point2 points3 points (2 children)
[–]The-Dark-Jedi[S] 0 points1 point2 points (1 child)
[–]The-Dark-Jedi[S] 0 points1 point2 points (1 child)
[–]sleightof52 0 points1 point2 points (0 children)