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/PSSystemPerformanceInfoImport the module:
Import-Module .\PSSystemPerformanceInfo.psm1Description: Downloads and executes the Speedtest CLI to measure network speeds and gathers network-related information.
Usage:
Test-NetworkSpeedDescription: Collects and summarizes system hardware information, including CPU, GPU, RAM, and storage details.
Usage:
Get-SystemInfoSummaryDescription: Returns the current CPU usage as a percentage.
Usage:
Get-CpuUsagePercentageDescription: Returns the current RAM usage as a percentage.
Usage:
Get-RamUsagePercentageDescription: Returns the usage capacity of each physical disk as a percentage.
Usage:
Get-DisksUsedCapacityDescription: Returns the rate of reading data from the disk in bytes per second.
Usage:
Get-DiskReadByteRateDescription: Returns the rate of writing data to the disk in bytes per second.
Usage:
Get-DiskWriteByteRateDescription: Returns the current network inbound rate in bytes per second.
Usage:
Get-NetworkInByteRateDescription: Returns the current network outbound rate in bytes per second.
Usage:
Get-NetworkOutByteRateDescription: Returns the average network usage as a percentage over a specified period.
Usage:
Get-NetworkUsagePercentageDescription: Returns the system uptime in minutes.
Usage:
Get-UpTimeMinutesDescription: 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.