Hi.
I have a batch style process that calls wswc.exe and passes some arguments to it like, like domainName, desktopName and the like, just normal wswc aruguments. Problem is, if the connection to a brokered desktop is not fulfilled successfully the error condition provided by wswc is not visible, making troubleshooting difficult.
I am lacking imagination and cannot come up with a way to call wswc (no focus on that process, it's on the parent thread that does the actual call) and have error conditions directed to the parent.