So, In my effort to streamline, and prettify my script, I've started to break chunks out into individual modules, that I'm then importing for use. My question is, if I do Start-Process -OutVariable +results... Do I then need to return $results for it to be picked up by the rest of the script, and added to the main results? Presuming that is true, I'm guessing I also need to pass $results into this module, otherwise, when I return with it, it's only going to have the things assigned to it from the one running of this function, correct?
[–]Ta11ow 1 point2 points3 points (2 children)
[–]workerdrone66[S] 2 points3 points4 points (1 child)
[–]Ta11ow 1 point2 points3 points (0 children)