From 54a369bde3fac04fd590353b5442999ab1ce0557 Mon Sep 17 00:00:00 2001 From: DrIOS <58635327+DrIOSX@users.noreply.github.com> Date: Sun, 16 Jun 2024 10:09:26 -0500 Subject: [PATCH] fix: Write-Information if not auiditresult. --- source/Public/Export-M365SecurityAuditTable.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Public/Export-M365SecurityAuditTable.ps1 b/source/Public/Export-M365SecurityAuditTable.ps1 index ac3b936..a8a2366 100644 --- a/source/Public/Export-M365SecurityAuditTable.ps1 +++ b/source/Public/Export-M365SecurityAuditTable.ps1 @@ -96,7 +96,7 @@ function Export-M365SecurityAuditTable { foreach ($test in $testsToProcess) { $auditResult = $AuditResults | Where-Object { $_.Rec -eq $test } if (-not $auditResult) { - Write-Error "No audit results found for the test number $test." + Write-Information "No audit results found for the test number $test." continue }