We are using Microsoft Windows Malicious Software Removal Tool and it creates a log for each machine on the network. We have all the logs in one network folder. Example of the log:
Microsoft Windows Malicious Software Removal Tool v5.2, July 2013 (build 5.2.9201.0)
Started On Tue Aug 20 13:34:54 2013
Results Summary:
No infection found.
Microsoft Windows Malicious Software Removal Tool Finished On Tue Aug 20 13:35:05 2013
Return code: 0 (0x0)
I am using this powershell script:
Get-ChildItem -Path “\ServerName\msft_log\Logs” -Filter “*.log” | Select-String “Return Code: 10” - works fine if the Return Code is 10
Get-ChildItem -Path “\Servername\msft_log\Logs” -Filter “*.log” | Select-String -Pattern Return Code:[1-13] - I need this one to work. It runs and I do not see any results or error messages
NOTE: The Return code: are 0 -13