Retrieving a descriptive value for WMI Win32_Processor.Family property instead of an index
问题 The below simple VBS example retrieves CPU caption, architecture and family from WMI: s = "" For Each Item In GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\Root\CIMV2").InstancesOf("Win32_Processor") s = s & "Caption = " & Item.Caption & vbCrLf s = s & "Architecture = " & Item.Architecture & vbCrLf s = s & "Family = " & Item.Family & vbCrLf Next WScript.Echo s The output for me is: Caption = Intel64 Family 6 Model 42 Stepping 7 Architecture = 9 Family = 198 What I want is to