Return behavior in PowerShell:
*
Early exit
function earlyexit {
"Hello"
return
"World"
}
“Hello” will be placed in the output pipeline, “World” will not