Projects Log

projects, diy


Archive for 'wmi' Category

How to delete file older than X days with Perl and WMI

9 July 2006

Original idea: Microsoft Scripting Guys (link)
Ok, that's not that hard, some VBScript to Perl translation, a little modification and that's all!
I think it should work works remotely too (untested yet) by changing $strComputer with the targeted computer (you need some specific credentials).