fix: output in 6.2.1 so joine won't fail

This commit is contained in:
DrIOS
2024-06-07 13:04:33 -05:00
parent d9ed3b60b7
commit f5ab68dd63

View File

@@ -1,7 +1,6 @@
function Test-BlockMailForwarding {
[CmdletBinding()]
param (
# Aligned Compare
# Parameters can be added if needed
)
@@ -30,7 +29,7 @@ function Test-BlockMailForwarding {
$details = if ($transportRules.Count -gt 0) {
$transportRules | ForEach-Object {
"$($_.Name) redirects to $($_.RedirectMessageTo)"
"$($_.Name) redirects to $($_.RedirectMessageTo -join ', ')"
} -join " | "
}
else {