fix: output for 6.1.2/3 and 7.3.4

This commit is contained in:
DrIOS
2024-06-07 21:10:28 -05:00
parent 8719900af7
commit f905f269d1
4 changed files with 70 additions and 24 deletions

View File

@@ -95,6 +95,14 @@ function Test-MailboxAuditingE3 {
}
end {
#$verbosePreference = 'Continue'
$detailsLength = $details.Length
Write-Verbose "Character count of the details: $detailsLength"
if ($detailsLength -gt 32767) {
Write-Verbose "Warning: The character count exceeds the limit for Excel cells."
}
#$verbosePreference = 'SilentlyContinue'
return $auditResult
}
}