I have a BES server that generates log files daily. Each day' s log files are in their own folder i.e. log files for 1/6/2015 will be in a folder named "20150106". Within that folder are 3 particular CSV files I need by name. I have been using the attached script but have to run it before the end of the day (11:59pm) before it will work properly and since moving to Server 2008R2 the email reporting function does not work.
I am looking for a better way to accomplish this.
p.s. I have no VB experience, I would prefer a batch file or PowerShell script.