strComputer = "."

 

Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator")

 

 

 

Set objSWbemServices = objSWbemLocator.ConnectServer

 

 

 

Set objSWbemObjectSet = objSWbemServices.InstancesOf("Win32_Processor")

 

 

 

For Each objSWbemObject In objSWbemObjectSet

 

 

 

 Wscript.echo  "CPU的型号为:" & objSWbemObject.ProcessorId

 

 

 

Next




Related posts

coded by nessus
分享:  DeliciousGReader鲜果豆瓣CSDN网摘
Trackback

no comment untill now

Add your comment now

无觅相关文章插件