From 3ecc8f4466dfe212228fc900c9375b6d87bcfbb5 Mon Sep 17 00:00:00 2001 From: DrIOS <58635327+DrIOSX@users.noreply.github.com> Date: Fri, 28 Jun 2024 21:42:48 -0500 Subject: [PATCH] fix: 2.1.5 simplified output and added object comment --- source/tests/Test-SafeAttachmentsTeams.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tests/Test-SafeAttachmentsTeams.ps1 b/source/tests/Test-SafeAttachmentsTeams.ps1 index d274411..c850c7e 100644 --- a/source/tests/Test-SafeAttachmentsTeams.ps1 +++ b/source/tests/Test-SafeAttachmentsTeams.ps1 @@ -49,7 +49,7 @@ function Test-SafeAttachmentsTeams { # Condition C: Check Safe Attachments for Microsoft Teams # Determine the result based on the ATP policy settings $result = $null -ne $atpPolicyResult - $atpPolicyResult | Where-Object { $_.Identity -eq "Default" } + #$atpPolicyResult | Where-Object { $_.Identity -eq "Default" } if ($result) { $detailpass = [PSCustomObject]@{ Name = $atpPolicyResult.Name