How can i print OS name and bit details

Hi
I would like to print OS and bit details from the system?
any suggestions?

I want to get like "Windows 7-64bit "

-PO

You can get the OS information of the machine Eggplant is running ON by using this command (either in a script or in the AHDB at the bottom of the run area).

put osinfo()

Getting the OS of the SUT is dependent on the target SUT, but you would just script whatever steps you would do by hand.