Check CPU and Memory utilization with PowerShell

You as system administrator have probably a situation before that one or more servers are unresponsive due to high CPU or Memory performance. You can scan all servers manually to see what is going on, but that can be a time consuming job. With the PowerShell function below you can quick scan the CPU and Memory Utilization on a remote computer.

PowerShell function

Example

Result:

Save the PowerShell function above to Get-CPUandMemoryUtilization.psm1 in C:\Program Files\WindowsPowerShell\Modules\Get-CPUandMemoryUtilization.

Thank you for spending some time at my site and in my blog. I hope you come to visit again soon¬†ūüėČ

About Lex van der Horst 201 Articles
Techwire

Be the first to comment

Leave a Reply