-
F
Looking for a script that will delete folders or files.
If I understand it correctly, then the following statements would do what I am attempting...I just have to figure out the variables in order to do it on a daily basis and then create a task to run it... Folder Remove-Item -Path 'B:\DBBackups\2021-08-30_22-00-02' -Recurse File Remove-Item -Path...- filmoore54
- Post #3
- Forum: Windows Server Forums
-
F
Looking for a script that will delete folders or files.
Looking for a script that will delete daily backup folders or files. Id like to use task scheduler to run it on a daily basis...- filmoore54
- Thread
- automation backup delete files folders scripting task scheduler windows
- Replies: 2
- Forum: Windows Server Forums