Forum Discussion
Tony_Barger
Feb 17, 2022Copper Contributor
Get-Process on a single service with high CPU
Hello Folks, I have been playing around with this --> Get-Process ReportingServicesService | Sort-Object | Select-Object for example and gives me what I need but I need more detailed info. Like ...
farismalaeb
Feb 18, 2022Iron Contributor
Hi
Not, as far as I know, there is no built-in way in the Get-Process to get which process is consuming the memory after a certain threshold.
Instead, you need to monitor this through your script, calculate the percentage and issue a warning once the value reaches the required level, issue a Send-MailMessage or send an alert.