These PowerShell commands will track windows performance issues.

Sometimes an easy-looking task such as tracking which application/process is causing CPU or RAM performance issues becomes a headache to complete. In this short article, we will provide PowerShell commands that we are using for tracking performance issues related to CPU and Ram quickly and efficiently.

Slow Performance
Photo by Song Kaiyue from Pexels

What is choking my CPU?

With the following PowerShell command, we will get the 20 top processes in a percentage descending sorting order:

What consumes my Memory?

These commands will give you the total consumed Memory of a System:

With the following PowerShell command, we will get the 20 top processes that consume memory in a percentage descending sorting order:

Why not do all the above in task manager?

All the above commands can be scripted and run towards remote computers, servers, and even Windows lists. That means that you can instantly get these statistics from several machines without interfering with someone’s work in progress, minimizing the response time and boosting productivity. Task manager is sometimes difficult to read-pinpoint the root cause of an issue as the graphical image you are getting changes each second. With PowerShell, you are getting an apparent output.

Future articles will also analyze Disk performance problems tracking that will need more extensive PowerShell script methods that measure IOPS (input/output operations per second), indicating disk-related issues. So stay tuned for our next article.

If the above sounds confusing, very technical, or just time consuming for you current capacity, we are here to help Contact us by Clicking Here. We are helping businesses to stabilizing and optimizing their environments. We also offer monitoring as a service if you just want us to keep an eye and alert you if something has indications of the will stop working soon. Here is an article related to monitoring

About Alexios Pappas – Alexios Pappas has worked internally in IT Departments in multi-role technical and management positions for many years. In parallel, Alexios led IT multinational projects across several countries globally as an IT Freelancer. He repeatedly got Top Rated Plus distinction and also 100% satisfaction rate for over one and a half-decade, resulting from the Client’s feedback. Since 2015 he has been focused on informing and helping Businesses that want to improve and excel in their IT Section.