Feb 17 2022 10:00 AM
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 for instance when a service consumes very high memory drain is there a variable or function to expand what is really taking all the memory under that single process?
Feb 17 2022 11:40 PM
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.