Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List Cache Memory InformationContent of List Cache Memory Information.vbsMD5 Hash: A1AB9E3CD8F567C976E4C97AC132585E |
||
' Description: Returns information about both the internal and external cache memory on a computer.
On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_CacheMemory") For Each objItem in colItems Wscript.Echo "Access: " & objItem.Access Wscript.Echo "Additional Error Data: " For Each objElement In objItem.AdditionalErrorData WScript.Echo vbTab & objElement Next Wscript.Echo "Associativity: " & objItem.Associativity Wscript.Echo "Availability: " & objItem.Availability Wscript.Echo "Block Size: " & objItem.BlockSize Wscript.Echo "Cache Speed: " & objItem.CacheSpeed Wscript.Echo "Cache Type: " & objItem.CacheType Wscript.Echo "Current SRAM: " For Each objElement In objItem.CurrentSRAM WScript.Echo vbTab & objElement Next Wscript.Echo "Description: " & objItem.Description Wscript.Echo "Device ID: " & objItem.DeviceID Wscript.Echo "Error Correct Type: " & objItem.ErrorCorrectType Wscript.Echo "Installed Size: " & objItem.InstalledSize Wscript.Echo "Level: " & objItem.Level Wscript.Echo "Location: " & objItem.Location Wscript.Echo "Maximum Cache Size: " & objItem.MaxCacheSize Wscript.Echo "Name: " & objItem.Name Wscript.Echo "Number Of Blocks: " & objItem.NumberOfBlocks Wscript.Echo "Status Information: " & objItem.StatusInfo Wscript.Echo "Supported SRAM: " For Each objElement In objItem.SupportedSRAM WScript.Echo vbTab & objElement Next Wscript.Echo "Write Policy: " & objItem.WritePolicy Wscript.Echo Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |