Win32_LogicalMemoryConfiguration在win7下无法使用
2021-06-19 22:05
标签:for 运行 amp win ice cts log str win2003 Set objSWbemServices = GetObject("winmgmts:\" & strComputer) For Each objSWbemObject In colSWbemObjectSet Win32_LogicalMemoryConfiguration在win7下无法使用 标签:for 运行 amp win ice cts log str win2003 原文地址:http://blog.51cto.com/4432704/2342798
Set colSWbemObjectSet = _
objSWbemServices.InstancesOf("Win32_LogicalMemoryConfiguration")
Wscript.Echo "Total Physical Memory (kb): " & _
objSWbemObject.TotalPhysicalMemory
Next
这段代码在win7下无法运行报错(null): 0x80041010 在win2003下可以运行,win7下已经取消此类
文章标题:Win32_LogicalMemoryConfiguration在win7下无法使用
文章链接:http://soscw.com/essay/96136.html