2021-09-27 10:38:12 +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
|
2022-12-28 10:47:08 +01:00
|
|
|
|
This PowerShell script checks and prints the system health of the local computer.
|
2021-07-13 21:10:02 +02:00
|
|
|
|
.EXAMPLE
|
2021-09-24 17:19:49 +02:00
|
|
|
|
PS> ./check-health
|
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
|
|
|
|
#>
|
|
|
|
|
|
2022-11-28 09:13:01 +01:00
|
|
|
|
" "
|
2022-11-30 08:42:00 +01:00
|
|
|
|
& "$PSScriptRoot/write-green.ps1" " H A R D W A R E"
|
2022-10-12 16:22:05 +02:00
|
|
|
|
& "$PSScriptRoot/check-cpu.ps1"
|
|
|
|
|
& "$PSScriptRoot/check-ram.ps1"
|
2022-10-28 13:07:39 +02:00
|
|
|
|
& "$PSScriptRoot/check-gpu.ps1"
|
2022-10-17 09:49:23 +02:00
|
|
|
|
& "$PSScriptRoot/check-smart-devices.ps1"
|
2021-12-03 10:13:59 +01:00
|
|
|
|
& "$PSScriptRoot/check-drives.ps1"
|
2022-11-30 08:42:00 +01:00
|
|
|
|
& "$PSScriptRoot/check-battery.ps1"
|
2022-11-28 09:13:01 +01:00
|
|
|
|
" "
|
2022-11-30 08:42:00 +01:00
|
|
|
|
& "$PSScriptRoot/write-green.ps1" " S O F T W A R E"
|
2022-12-28 10:47:08 +01:00
|
|
|
|
& "$PSScriptRoot/check-bios.ps1"
|
2022-12-01 09:50:58 +01:00
|
|
|
|
& "$PSScriptRoot/check-os.ps1"
|
|
|
|
|
& "$PSScriptRoot/check-powershell.ps1"
|
2022-12-02 11:48:59 +01:00
|
|
|
|
& "$PSScriptRoot/check-apps.ps1"
|
2022-11-28 09:13:01 +01:00
|
|
|
|
& "$PSScriptRoot/check-uptime.ps1"
|
|
|
|
|
& "$PSScriptRoot/check-time-zone.ps1"
|
|
|
|
|
& "$PSScriptRoot/check-swap-space.ps1"
|
2022-12-28 17:49:03 +01:00
|
|
|
|
& "$PSScriptRoot/check-pending-reboot.ps1"
|
|
|
|
|
" "
|
|
|
|
|
& "$PSScriptRoot/write-green.ps1" " N E T W O R K"
|
2023-01-06 21:55:52 +01:00
|
|
|
|
& "$PSScriptRoot/check-firewall"
|
2021-04-07 14:45:10 +02:00
|
|
|
|
& "$PSScriptRoot/check-ping.ps1"
|
2022-12-28 17:49:03 +01:00
|
|
|
|
& "$PSScriptRoot/check-dns.ps1"
|
2021-12-02 14:52:25 +01:00
|
|
|
|
& "$PSScriptRoot/check-vpn.ps1"
|
2022-12-28 10:47:08 +01:00
|
|
|
|
exit 0 # success
|