Powershell script to monitor a process with services

28 Views Asked by At

I'm noticing a system process is growing in memory size over the course of weeks and wondering what the powershell commands would be to write a script to monitor this and send me an email when the size increases by 1 Gig (or another size).

The process is

System Host: DCOM Server Process Launcher
  + System Events Broker
  + Power
  + Plug and Play
  + DCOM Server Process Launcher
  + Background Tasks Infrastructure Service

After 5 days the process size is 1,772.4 MB. I was first alerted to it when the size was over 25 Gig and my system was running short of memory.

Searching for a solution

0

There are 0 best solutions below