PowerShell/Scripts/check-health.ps1

28 lines
747 B
PowerShell
Raw Normal View History

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-10-09 12:34:06 +02:00
This PowerShell script checks some health parameter of the local computer.
2021-07-13 21:10:02 +02:00
.EXAMPLE
2021-09-24 17:19:49 +02:00
PS> ./check-health
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
#>
& "$PSScriptRoot/check-operating-system.ps1"
& "$PSScriptRoot/check-uptime.ps1"
& "$PSScriptRoot/check-time-zone.ps1"
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"
& "$PSScriptRoot/check-smart-devices.ps1"
2021-04-07 14:45:10 +02:00
& "$PSScriptRoot/check-swap-space.ps1"
2021-12-03 10:13:59 +01:00
& "$PSScriptRoot/check-drives.ps1"
2021-12-01 09:57:36 +01:00
& "$PSScriptRoot/check-dns.ps1"
2021-04-07 14:45:10 +02:00
& "$PSScriptRoot/check-ping.ps1"
2021-12-02 14:52:25 +01:00
& "$PSScriptRoot/check-vpn.ps1"
2022-10-09 12:34:06 +02:00
& "$PSScriptRoot/check-pending-reboot.ps1"
2021-12-01 10:23:15 +01:00
exit 0 # success