Month: January 2018

  • Download and run Microsoft Security Scanner (MSERT)

    First download: powershell -Command “& {Start-BitsTransfer -Source “http://definitionupdates.microsoft.com/download/definitionupdates/safetyscanner/amd64/msert.exe” -Destination “C:\users\public\downloads\msert\msert.exe”}” Run: C:\Users\Public\Downloads\msert\msert.exe /Q /H Script to parse log and create Event: # Requires that New-EventLog -LogName -Source “MSERT” is run on the system first $msertfile = “C:\Windows\debug\msert.log” $msertmessage = Get-Content $msertfile $searchtext = “No infection found” $source = “MSERT” if ($msertmessage | Select-String $searchtext -quiet) […]