fix: output in 6.2.1 so joine won't fail
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
function Test-BlockMailForwarding {
|
function Test-BlockMailForwarding {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
param (
|
param (
|
||||||
# Aligned Compare
|
|
||||||
# Parameters can be added if needed
|
# Parameters can be added if needed
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -30,7 +29,7 @@ function Test-BlockMailForwarding {
|
|||||||
|
|
||||||
$details = if ($transportRules.Count -gt 0) {
|
$details = if ($transportRules.Count -gt 0) {
|
||||||
$transportRules | ForEach-Object {
|
$transportRules | ForEach-Object {
|
||||||
"$($_.Name) redirects to $($_.RedirectMessageTo)"
|
"$($_.Name) redirects to $($_.RedirectMessageTo -join ', ')"
|
||||||
} -join " | "
|
} -join " | "
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user