@echo off if "%1"=="" goto msg if "%2"=="" goto single wmic /node:%1, %2 cpu get name,caption, maxclockspeed, systemname
/format:textv aluelist.xsl goto end :single wmic /node:%1 cpu get name, caption, maxclockspeed, systemname /format:textvalu elist.xsl goto end :msg echo you must specify at least one computer name. :end