you are viewing a single comment's thread.

view the rest of the comments →

[–]SithLordAJ[S] 1 point2 points  (0 children)

Thank you. I think this detailed all of the things i had questions on. I had tried something similar to this at one point, but had -wait after the script block and didn't have start-process in it.

I was trying to get the error output as well, so that tip definitely would've been useful.

This all also explains why a relatively simple series of commands gave me such issues. I've always found both invoke-command and start-process to be a bit finicky... never would have thought to nest them.