Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
wallyhs
· 9y ago · 0 comments
If I remember correctly, you can put [void] in front of a statement to prevent it from being included in the return.
Comments
[–]
ygra
9y ago
You can do a number of things:
[void](expr) $null = (expr) (expr) | Out-Null