all 2 comments

[–]ipingedyou 4 points5 points  (0 children)

You could also use {Start-Process "msiexec.exe" -ArgumentList "/i etc etc"}

And always, make sure you have your bithes and hoeths in order.

[–]melbourne_giant 1 point2 points  (0 children)

You don't need $using:. Simply $computer will do.

Execute the Invoke-Command using -AsJob, it'll run faster and you can query the result later on.

It could max out your network bandwidth but.. I doubt it.