2024-10-01 15:11:03 +02:00
|
|
|
|
<#
|
2021-07-13 21:10:02 +02:00
|
|
|
|
.SYNOPSIS
|
2022-10-28 13:07:39 +02:00
|
|
|
|
Checks the system health
|
2021-10-04 21:29:23 +02:00
|
|
|
|
.DESCRIPTION
|
2023-07-27 09:12:40 +02:00
|
|
|
|
This PowerShell script queries the system health of the local computer (hardware, software, and network) and prints it.
|
2021-07-13 21:10:02 +02:00
|
|
|
|
.EXAMPLE
|
2023-07-27 09:12:40 +02:00
|
|
|
|
PS> ./check-health.ps1
|
|
|
|
|
|
2022-12-28 10:47:08 +01:00
|
|
|
|
H A R D W A R E
|
|
|
|
|
✅ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (CPU0, 2701MHz, socket U3E1, 30.1°C)
|
|
|
|
|
...
|
2021-07-13 21:10:02 +02:00
|
|
|
|
.LINK
|
|
|
|
|
https://github.com/fleschutz/PowerShell
|
|
|
|
|
.NOTES
|
2022-09-06 21:42:04 +02:00
|
|
|
|
Author: Markus Fleschutz | License: CC0
|
2021-03-20 15:51:03 +01:00
|
|
|
|
#>
|
|
|
|
|
|
2023-07-27 09:12:40 +02:00
|
|
|
|
& "$PSScriptRoot/check-hardware.ps1"
|
|
|
|
|
& "$PSScriptRoot/check-software.ps1"
|
|
|
|
|
& "$PSScriptRoot/check-network.ps1"
|
2022-12-28 10:47:08 +01:00
|
|
|
|
exit 0 # success
|