本文介绍了如何获得Ram Speed?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我需要找出RAM速度...任何人帮助我

hi i need to find out the RAM Speed...anybody help me

推荐答案

我会使用WMI。
这会给你的速度和更多的参数:

I would use WMI.This will give you speed and many more parameters:

On Error Resume Next 
strComputer = "." 
Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") 
Set colItems = objWMIService.ExecQuery("Select * from Win32_PhysicalMemory") 
For Each objItem in colItems 

Wscript.Echo "Bank Label: " & objItem.BankLabel 
Wscript.Echo "Capacity: " & objItem.Capacity 
Wscript.Echo "Data Width: " & objItem.DataWidth 
Wscript.Echo "Description: " & objItem.Description 
Wscript.Echo "Device Locator: " & objItem.DeviceLocator 
Wscript.Echo "Form Factor: " & objItem.FormFactor 
Wscript.Echo "Hot Swappable: " & objItem.HotSwappable 
Wscript.Echo "Manufacturer: " & objItem.Manufacturer 
Wscript.Echo "Memory Type: " & objItem.MemoryType 
Wscript.Echo "Name: " & objItem.Name 
Wscript.Echo "Part Number: " & objItem.PartNumber 
Wscript.Echo "Position In Row: " & objItem.PositionInRow 
Wscript.Echo "Speed: " & objItem.Speed 
Wscript.Echo "Tag: " & objItem.Tag 
Wscript.Echo "Type Detail: " & objItem.TypeDetail 

Next 

这篇关于如何获得Ram Speed?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-10 08:16