What Powershell pitfalls you have fall into? :-)
Mine are:
# ----------------------------------- function foo() { @(\"text\") } # Expected 1, a
This works. But almost certainly not in the way you think it's working.
PS> $a = 42; PS> [scriptblock]$b = { $a } PS> & $b 42