There are a few WMI interfaces for querying physical memory.  The
TotalVisibleMemorySize property of Win32_OperatingSystem is one of
them:

  http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_operatingsystem.asp

To try it out, download instances.pl from:

  http://unattended.sourceforge.net/apps.html#instances

Then run "instances.pl Win32_OperatingSystem".  Use "-r <hostname>" to
operate on a remote system.

Specialized code to query just this property would only need a handful
of lines.

 - Pat
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to