#1
|
|||
|
|||
PSInfo
I am trying to run "PSInfo -s" command on a remove server to get an list of all application on the server. I keep getting a return code of 1. I do get the list I need from this command. I just added that an exit code of 1 is successful.
Is this correct or does this mean that its erroring out? Also is there an event that I can trap for that will give me the current output of this action in a variable so that I can do a string lookup. Or do I just have to read in the log file that is created? The perpose of this is I want to check to see if the software exists before running an uninstall command. If I just run an uninstall command on a remote server the build just hangs. Thanks, Craig |
|
|