You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($BadFolderList.count-gt0-or$BadExtensionList.Count-gt0-or$SuspiciousProcessList.count-gt0-or$SuspiciousW3wpProcessList.count-gt0-or$SuspiciousAMSIinW3wpProcessList.count-gt0) {
613
+
if ($BadFolderList.count-gt0-or$BadExtensionList.Count-gt0-or$SuspiciousProcessList.count-gt0-or$SuspiciousAMSIProcessList.count-gt0) {
599
614
600
615
Write-Host"Possible AV Scanning found"-ForegroundColor Red
Write-Warning ("Found $($SuspiciousProcessList.count) UnExpected modules loaded into Exchange Processes ")
615
630
}
616
-
if ($SuspiciousW3wpProcessList.count-gt0 ) {
617
-
$SuspiciousW3wpProcessListString="`nW3wp.exe is not present in the recommended Exclusion list but we found 3rd Party modules on it and could affect Exchange performance or functionality."
Write-Warning ("Found $($SuspiciousW3wpProcessList.count) UnExpected modules loaded into W3wp.exe ")
623
-
}
624
-
if ($SuspiciousAMSIinW3wpProcessList.count-gt0) {
625
-
$SuspiciousAMSIinW3wpProcessListString="`nFound AMSI modules in w3wp processes`nThat may impact Exchange performance and Outlook connectivity in some scenarios.`nThese modules are not necessarily anomalies, but we recommend checking the following articles: `n`thttps://learn.microsoft.com/en-us/exchange/antispam-and-antimalware/amsi-integration-with-exchange `n`thttps://aka.ms/Test-AMSI"
Write-Warning ("Found $($SuspiciousAMSIinW3wpProcessList.count) AMSI modules loaded into W3wp.exe ")
631
+
if ($SuspiciousAMSIProcessList.count-gt0 ) {
632
+
$SuspiciousAMSIProcessListString="`nAMSI.dll detected in Exchange processes with AMSI providers loaded. This may indicate antivirus integration that could affect Exchange performance."
0 commit comments