Hi guys,
I'm looking for a script that read a txt file, if it find result different from 0 warnings and 0 errors send a e-mail result with warning number, error number and date.
[4/12/2013 3:00:51 AM] Finished with 0 warnings. (final line)
[4/12/2013 3:00:51 AM] Finished with 0 errors. (final line)
the problem is, the name file changes all day and on this case the script must be look for file based on last modified date.
file name: 1_1_16f94c73-f73c-427c-8ab9-d319665fad15_635011662668970000_62272
thanks,
Certified (35) | ITIL | MCP | MCDST | MCSA1 | MCSE1 | MCT | MCTS Sharepoint | MCITP SQL | MCSA Windows 2012 | MTA Security | MCSE Windows 8 | MCSE Windows 2012 | Vencedor do Winthe7.com.br 2009, Quarto lugar Copa de Talentos Microsoft 2010