Skip to content

Commit

Permalink
Merge pull request #2135 from DKhrebin/main
Browse files Browse the repository at this point in the history
Update Test-ExchAVExclusions.ps1
  • Loading branch information
bill-long committed Jul 17, 2024
2 parents 5bde706 + d2400ea commit 6c2203d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Diagnostics/AVTester/Test-ExchAVExclusions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c2203d

Please sign in to comment.