You can capture data that a running program sends by directing the output to an output serial port. You can read the output file to view the data.


In the Inventory panel, select the virtual machine to modify.


In the Commands section of the Summary tab, click Add Hardware.

The Add Hardware wizard opens.


Click Serial Port.


Click Use Output File to send the output of an application that is running in the guest operating system to a file on the host machine.


On the Properties page, enter the path and filename for the output file or click Browse to navigate to the file.


(Optional) To connect this virtual machine to the host’s output file when the virtual machine is powered on, select Connect at power on (the default).


(Optional) Expand I/O Mode to select Yield CPU on poll, which is deselected by default.

The kernel in the target virtual machine uses the virtual serial port in polled mode, not interrupt mode.

This option applies only to Windows hosts.


Click Next.


In the Ready to Complete page, review the configuration summary and click Finish.

The operating system recognizes the new serial port the next time you power on the virtual machine.