Windows – What’s the equivalent command of “wmic memlogical” in Windows 7

command linewindowswindows 7

I'm trying to use wmic memlogical in Windows 7 but it says:

memlogical – Alias not found

What's the equivalent command for Windows 7?

Best Answer

The aliases are a bit different in Windows 7 - memlogical doesn't exist. Here's how to get the same information in Windows 7:

Total Physical Memory

wmic ComputerSystem get TotalPhysicalMemory

Available Physical Memory

wmic OS get FreePhysicalMemory

Virtual Memory Max Size

wmic OS get TotalVirtualMemorySize

Virtual Memory Available

wmic OS get FreeVirtualMemory

You can combine them as follows into one command:

wmic ComputerSystem get TotalPhysicalMemory && wmic OS get FreePhysicalMemory,TotalVirtualMemorySize,FreeVirtualMemory
Related Question