Hi All,
I'm writing a script to delete files from a folder, that are more than 24 hours old. What I'm looking for though is a way to specify the file type? Like for example if I want to specify only .ps1 files, is there a good method? Or a good location I can look to for something to read?
Thoughts appreciated.