Category filter

Script to get performance details of Windows devices

Devices can get slow and inefficient over time due to the clogging of unwanted cache and data. Certain apps often loot the system resources without the user’s knowledge. It’s good practice to monitor your device’s performance details regularly. With Hexnode’s Execute Custom Script action, you can execute custom scripts that will fetch various performance parameters of your Windows device.

Disclaimer:

The sample scripts provided below are adapted from third-party open-source sites.

PowerShell script

By running this script, you can get the details of various performance parameters like CPU usage, memory usage, disk usage, total physical memory, available physical memory, virtual memory available, and virtual memory in use.

Notes:

  • It is recommended to manually validate the script execution on a system before executing the action in bulk.
  • Hexnode will not be responsible for any damage/loss to the system on the behavior of the script.

  • Sample Script Repository