Tony,

I take it as read that there is a line before the script snippet you give us here that reads:

code:
$objwinmgmts = getobject("winmgmts:{impersonationlevel=impersonate}!//@WKSTA")  

...or similar. Also, I believe you are missing a Next statement after your For Each construct. This may be the reason that only one memory module is being examined.

Hope this helps!
_________________________
================================================
Breaker