Set objWMI = GetObject("winmgmts:\\.\root\cimv2")
Set colObjects = objWMI.ExecQuery("Select * From Win32_Process")
For Each Item in colObjects
Item.WorkingSetSize=Item.WorkingSetSize/1024*1024
WScript.Echo Item.Name & " - " & Item.WorkingSetSize
Next
*for getting Updates / if you are liking the posts and if this is useful Please follow the blog*
Comments
Post a Comment