标签:style blog http io ar os sp strong on
用WMI来查询CPU的频率,一直没问题:
"Select MaxClockSpeed From Win32_Processor Where ProcessorType = 3"
结果今天在一台虚拟机上发现无法查询了,于是乎在Powershell里查询了一下
Get-WmiObject –Class Win32_Processor
看看,ProcessorType是空的,Σ( ° △ °|||)︴
坑爹啊,VMWare创建的就没问题,ProcessorType是3.
Primary function of the processor.
Value Meaning
http://msdn.microsoft.com/en-us/library/aa394373(v=vs.85).aspx
VirtualBox创建VM结果ProcessorType是空的
标签:style blog http io ar os sp strong on
原文地址:http://www.cnblogs.com/rader/p/4079152.html