Skip to content

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.

License

Notifications You must be signed in to change notification settings

emiliogives/PSSystemPerformanceInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSSystemPerformanceInfo

PowerShell Version

Overview

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.

Installation

Clone the repository to your local machine:

git clone https://github.com/emiliogives/PSSystemPerformanceInfo

Import the module:

Import-Module .\PSSystemPerformanceInfo.psm1

Functions

Test-NetworkSpeed

Description: Downloads and executes the Speedtest CLI to measure network speeds and gathers network-related information.

Usage:

Test-NetworkSpeed

Get-SystemInfoSummary

Description: Collects and summarizes system hardware information, including CPU, GPU, RAM, and storage details.

Usage:

Get-SystemInfoSummary

Get-CpuUsagePercentage

Description: Returns the current CPU usage as a percentage.

Usage:

Get-CpuUsagePercentage

Get-RamUsagePercentage

Description: Returns the current RAM usage as a percentage.

Usage:

Get-RamUsagePercentage

Get-DisksUsedCapacity

Description: Returns the usage capacity of each physical disk as a percentage.

Usage:

Get-DisksUsedCapacity

Get-DiskReadByteRate

Description: Returns the rate of reading data from the disk in bytes per second.

Usage:

Get-DiskReadByteRate

Get-DiskWriteByteRate

Description: Returns the rate of writing data to the disk in bytes per second.

Usage:

Get-DiskWriteByteRate

Get-NetworkInByteRate

Description: Returns the current network inbound rate in bytes per second.

Usage:

Get-NetworkInByteRate

Get-NetworkOutByteRate

Description: Returns the current network outbound rate in bytes per second.

Usage:

Get-NetworkOutByteRate

Get-NetworkUsagePercentage

Description: Returns the average network usage as a percentage over a specified period.

Usage:

Get-NetworkUsagePercentage

Get-UpTimeMinutes

Description: Returns the system uptime in minutes.

Usage:

Get-UpTimeMinutes

Get-SystemStats

Description: Aggregates all collected metrics into a single object with detailed system performance statistics.

Usage:

Get-SystemStats

Notes

  • Version: 1.0
  • Author: emilio.gives
  • Company: emilio.gives
  • Last Modified: 15/06/2024
  • Project Site: GitHub
  • Dependencies: Windows Management Instrumentation (WMI)

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Special thanks to all contributors and the PowerShell community.

The speed test functionality uses asheroto/speedtest for the internet speed test functionality.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published