diff --git a/source/tests/Test-BlockMailForwarding.ps1 b/source/tests/Test-BlockMailForwarding.ps1 index dbe539a..9435a87 100644 --- a/source/tests/Test-BlockMailForwarding.ps1 +++ b/source/tests/Test-BlockMailForwarding.ps1 @@ -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 {