PowerShell/Docs/check-health.md

42 lines
1.9 KiB
Markdown
Raw Normal View History

2021-10-17 14:30:21 +02:00
<EFBFBD><EFBFBD>## check-health.ps1 - Checks the health of the local computer
This script checks the health of the local computer.
## Parameters
```powershell
C:\Users\Markus\Repos\PowerShell\Scripts\check-health.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS> ./check-health
'<0F> 1213 GB left for swap space (67 of 1280 GB used)
'<0F> 172 GB left on drive C (61 of 233 GB used)
'<0F> 30.3 <00>C CPU temperature - good
'<0F> 19.7 domains/s (177 domains resolved in 9 sec)
'<0F> 29 ms ping average (13 ms min, 110 ms max, 10 hosts)
'<0F> Windmill is healthy
```
## Notes
Author: Markus Fleschutz
License: CC0
## Related Links
https://github.com/fleschutz/PowerShell
*Generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1*