We use a program called Kaseya. It allows us to launch remote commands/scripts on computers, BUT getting the output of the commands is not straight forward. What I mean is, it should be storing the output of a script to a text file, but this is not always the case.
I came across tee-object, this could work, BUT in version 2 (and we have a lot of XP Machines still) tee doesn’t have the -Append feature.
I am looking for a method to capture all the write-warning/host commands and to capture any of the errors that occur… basically I want everything in the console to be in a file. Can someone provide some suggestions please.