NTDOC...
Thanks for the feedback.
I was using a WMI query originally, code:
$cpuname=WMIQuery("Name","Win32_Processor","$machine")
but encountered a ton of machines with outdated cimwin32.dll, resulting in "Unknown Intel P6 processor" results. See MS Knowledge Base Article Q289514 for MS fixes for Win9x, NT4, and Win2K.
At one stage, I had thought of doing a WMI query with a sub to the regread if the WMI result was wonky, but elected to go with a kiss solution.
As for the Processor Speed thingie, I consider it to be outside the scope of the Processor Name issue. I have a seperate WMI query to take care of that. code:
$clockspeed=WMIQuery("CurrentClockSpeed","Win32_Processor","$machine")
Cheers...
[ 11. September 2002, 17:36: Message edited by: Waltz ]
_________________________
We all live in a Yellow Subroutine...