start=>esegui=>cmd invio

wmic /output:c:\elenco_sw.txt product get name,version