fix: output in 6.2.1 so joine won't fail
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user