Hi Michael,
To my knowledge there isn't a utility out there that can do that. But if on those box you have access to the database, you can query the version of it. The version information is located in the HOST table.
For example you can do something like this:
select HOST_OH_Idnr, HOST_Version, OH_Name from HOST
inner join OH on OH_Idnr = HOST_OH_Idnr where HOST_HostAttrType in ('C','W')
Which will give you the Version of the CP/WP & its name.
@Simone, for the Agent information you would also be to find it using something like the example. Just replace the 'C', 'W' with your Agent HOST_HostAttrType you are looking for (windows, unix etc...)