PSSystemPerformanceInfo is a PowerShell module that provides detailed network and system performance metrics. This module includes functions to test network speeds, gather comprehensive system information, and monitor system performance metrics such as CPU usage, RAM usage, disk usage, network statistics, and system uptime.
Clone the repository to your local machine:
git clone https://github.com/emiliogives/PSSystemPerformanceInfo
Import the module:
Import-Module .\PSSystemPerformanceInfo.psm1
Description: Downloads and executes the Speedtest CLI to measure network speeds and gathers network-related information.
Usage:
Test-NetworkSpeed
Description: Collects and summarizes system hardware information, including CPU, GPU, RAM, and storage details.
Usage:
Get-SystemInfoSummary
Description: Returns the current CPU usage as a percentage.
Usage:
Get-CpuUsagePercentage
Description: Returns the current RAM usage as a percentage.
Usage:
Get-RamUsagePercentage
Description: Returns the usage capacity of each physical disk as a percentage.
Usage:
Get-DisksUsedCapacity
Description: Returns the rate of reading data from the disk in bytes per second.
Usage:
Get-DiskReadByteRate
Description: Returns the rate of writing data to the disk in bytes per second.
Usage:
Get-DiskWriteByteRate
Description: Returns the current network inbound rate in bytes per second.
Usage:
Get-NetworkInByteRate
Description: Returns the current network outbound rate in bytes per second.
Usage:
Get-NetworkOutByteRate
Description: Returns the average network usage as a percentage over a specified period.
Usage:
Get-NetworkUsagePercentage
Description: Returns the system uptime in minutes.
Usage:
Get-UpTimeMinutes
Description: Aggregates all collected metrics into a single object with detailed system performance statistics.
Usage:
Get-SystemStats
- Version: 1.0
- Author: emilio.gives
- Company: emilio.gives
- Last Modified: 15/06/2024
- Project Site: GitHub
- Dependencies: Windows Management Instrumentation (WMI)
This project is licensed under the MIT License - see the LICENSE file for details.
Special thanks to all contributors and the PowerShell community.
The speed test functionality uses asheroto/speedtest for the internet speed test functionality.