From 9b38ef408dc2467d14d0ce9d8e1228f071e212ee Mon Sep 17 00:00:00 2001 From: David Paulson Date: Wed, 19 Jul 2023 08:30:50 -0500 Subject: [PATCH 1/2] Make sure the return results is an array to allow .Count to work --- .../ExchangeExtendedProtectionManagement.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Security/src/ExchangeExtendedProtectionManagement/ExchangeExtendedProtectionManagement.ps1 b/Security/src/ExchangeExtendedProtectionManagement/ExchangeExtendedProtectionManagement.ps1 index af9a4864c4..f7cd53a4a0 100644 --- a/Security/src/ExchangeExtendedProtectionManagement/ExchangeExtendedProtectionManagement.ps1 +++ b/Security/src/ExchangeExtendedProtectionManagement/ExchangeExtendedProtectionManagement.ps1 @@ -493,7 +493,7 @@ begin { $counter = 0 $totalCount = $ExchangeServers.Count $outlookAnywhereCount = 0 - $outlookAnywhereServers = $ExchangeServersPrerequisitesCheckSettingsCheck | Where-Object { $_.IsClientAccessServer -eq $true } + $outlookAnywhereServers = @($ExchangeServersPrerequisitesCheckSettingsCheck | Where-Object { $_.IsClientAccessServer -eq $true }) $outlookAnywhereTotalCount = $outlookAnywhereServers.Count $progressParams = @{ From f7a41fce2c407b02aca1509370f68571041ce821 Mon Sep 17 00:00:00 2001 From: Ignacio Serrano <103440830+iserrano76@users.noreply.github.com> Date: Wed, 19 Jul 2023 20:12:20 +0200 Subject: [PATCH 2/2] Update Test-ExchAVExclusions.ps1 --- Diagnostics/AVTester/Test-ExchAVExclusions.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Diagnostics/AVTester/Test-ExchAVExclusions.ps1 b/Diagnostics/AVTester/Test-ExchAVExclusions.ps1 index 7042f63f57..494daaa46f 100644 --- a/Diagnostics/AVTester/Test-ExchAVExclusions.ps1 +++ b/Diagnostics/AVTester/Test-ExchAVExclusions.ps1 @@ -341,6 +341,8 @@ $ModuleAllowList.add("ExDbFailureItemApi.dll") $ModuleAllowList.add("Microsoft.Cloud.InstrumentationFramework.Metrics.ni.dll") $ModuleAllowList.add("IfxMetrics.dll") $ModuleAllowList.add("ManagedBlingSigned.dll") +$ModuleAllowList.add("l3codecp.acm") +$ModuleAllowList.add("System.IdentityModel.Tokens.jwt.ni.dll") # Oracle modules associated with 'Outside InĀ® Technology' $ModuleAllowList.add("wvcore.dll") $ModuleAllowList.add("sccut.dll")