2003:
if you haven't used pstools, please download and read and use. http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx
Use psinfo:
the > sends the output to a file you define.
you can omit \\remotecomputer if you are running locally
2008:
use this wmic script
wmic qfe list full /format:htable > d:\path\server.htm
the > sends the output to a file you define.