Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Searching by file Type

$
0
0

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.


Viewing all articles
Browse latest Browse all 6937

Trending Articles