This might have been asked many times but I couldnt find the thread.
Issues:
If a command is having a very long output powershell simply hangs. Is there a bypass which I can use to avoid it during automation?
qfarm /load | out-file .\citrixload.txt
#above is a citrix related command that gives me the entire list of servers and corresponding loads in my citrix farm, it can have 1000 plus line output.
#I need this result as a whole, unattended to be supplied to other functions for automation.
#But due to the length of the result, powershell simply hangs.