PowerShell/Scripts/check-health.ps1

27 lines
718 B
PowerShell
Raw Normal View History

2021-09-27 10:38:12 +02:00
<#
2021-07-13 21:10:02 +02:00
.SYNOPSIS
Checks the computer 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-uptime.ps1"
& "$PSScriptRoot/check-operating-system.ps1"
& "$PSScriptRoot/check-time-zone.ps1"
2022-10-12 16:22:05 +02:00
& "$PSScriptRoot/check-cpu.ps1"
& "$PSScriptRoot/check-ram.ps1"
2021-04-07 14:45:10 +02:00
& "$PSScriptRoot/check-swap-space.ps1"
2022-10-16 10:39:31 +02:00
& "$PSScriptRoot/check-smart-devices.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