I have seen some posts to delete all the files (not folders) in a specific folder, but I simply don't understand them.
I need to use a UNC path and delete all the files that are older than 7 days.
Mypath = \\files\data\APIArchiveFolder\
Does someone have quick script that they can specifically input the path above into that would delete all files older than 7 days?