@echo off
if "%1"=="" goto msg
if "%2"=="" goto single
wmic /node:%1, %2 cpu get name, caption, maxclockspeed, systemname
/format:textvaluelist.xsl
goto end
:single
wmic /node:%1 cpu get name, caption, maxclockspeed,
systemname /format:textvaluelist.xsl
goto end
:msg
echo 必须指定至少一台计算机的名字。
:end
|