Thursday, September 9, 2010

Win32 WMI

Get available memory:
get-wmiobject -query "select AvailableMBytes from Win32_PerfFormattedData_PerfOS_Memory"

No comments:

Post a Comment