Archived from groups: microsoft.public.windowsxp.general (More info?)
I'm looking for a command line utility that returns ONLY processor
speed....nothing else fancy, just clockspeed. I would like to be able to use
this in a script or something like:
$clockspeed=clockspeed.exe
then $clockspeed will be "2798" or whatever MHz my processor has.
Does XP have any built-in command line functions that do this, or anybody
know where i can find one?
Archived from groups: microsoft.public.windowsxp.general (More info?)
Use the WMI Commandline tool
This is the comand line you need to use
wmic cpu get CurrentClockSpeed
Regards
Mark Dormer
"Jason Ryon" <JasonRyon@discussions.microsoft.com> wrote in message
news72DC263-AD25-4D4E-81E9-05FF70BC3887@microsoft.com...
> I'm looking for a command line utility that returns ONLY processor
> speed....nothing else fancy, just clockspeed. I would like to be able to
> use
> this in a script or something like:
> $clockspeed=clockspeed.exe
> then $clockspeed will be "2798" or whatever MHz my processor has.
>
> Does XP have any built-in command line functions that do this, or anybody
> know where i can find one?
>
> Thanks,
> Jason Ryon
>
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.