I want to get the .NET CF version off of several thousand CE 5.0 devices at our remote facilities. Using a tool we have, I can send them all dos-like scripts and have them report back. I want to use cgacutil.exe to get the answer, but instead of reporting to stdout or a file, the utility pops up a message box with the answer(s). Is there a command line option for cgacutil.exe that will let me redirect the output? I can't have all of the devices popping up that window. It would be a support nightmare.
I'm open to other ways to grab the information as well as long as I can execute them on a command line and need no end-user intervention.