How to get free physical memory of remote computer using PowerShell
问题 I have this: (Get-WMIObject Win32_logicaldisk -computername computer).TotalPhysicalMemory to get size of physical memory installed on remote computer. How do I get the FREE memory of that computer? I've tried (Get-WMIObject Win32_logicaldisk -computername computer).FreePhysicalMemory and some other variants, but with no effect. Is there some list of possible "filters"? 回答1: Whenever you want to see all of the properties of an object, pipe it to Format-List * . Get-WmiObject Win32_LogicalDisk