From 91d43a97883b4afb04ec397c951799cf29a105bb Mon Sep 17 00:00:00 2001 From: DKhrebin <43005759+DKhrebin@users.noreply.github.com> Date: Mon, 15 Jul 2024 15:55:54 +0100 Subject: [PATCH] Update Test-ExchAVExclusions.ps1 Nice to have file version to recognize outdated 3rd party software. --- Diagnostics/AVTester/Test-ExchAVExclusions.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Diagnostics/AVTester/Test-ExchAVExclusions.ps1 b/Diagnostics/AVTester/Test-ExchAVExclusions.ps1 index dcd66cf7f7..262a46fc7f 100644 --- a/Diagnostics/AVTester/Test-ExchAVExclusions.ps1 +++ b/Diagnostics/AVTester/Test-ExchAVExclusions.ps1 @@ -466,7 +466,7 @@ while ($currentDiff -gt 0) { if ($ProcessModules.count -gt 0) { foreach ($module in $ProcessModules) { - $OutString = ("PROCESS: $($process.ProcessName) PID($($process.Id)) UNEXPECTED MODULE: $($module.ModuleName) COMPANY: $($module.Company)`n`tPATH: $($module.FileName)") + $OutString = ("PROCESS: $($process.ProcessName) PID($($process.Id)) UNEXPECTED MODULE: $($module.ModuleName) COMPANY: $($module.Company)`n`tPATH: $($module.FileName)`n`tFileVersion: $($module.FileVersion)") Write-Host "[FAIL] - $OutString" -ForegroundColor Red if ($process.MainModule.ModuleName -eq "W3wp.exe") { $SuspiciousW3wpProcessList += $OutString