Remotely get list of installed program

Use PsExec to connect to a remote PC and get list of program installed. Command is wmic then product get name