Powershell Script
Budget: $30 – $250 USD
Hello,
I need a powershell script for a PC daily health check, this will be run throughout the day to ensure health of systems.
In order to write the error back to our system this is an example
if ($FailedBackups) {
write-host "Failed backups found. Please check diagnostic information"
Rmm-Alert -Category 'Backups' -Body "The backup might have failed. Please investigate"
}
1. Check disk health. The script needs to be able to check if the drive is an SSD or Spinning drive and check its health to try to see failures before they happen.
This needs to be done with something other than the built-in windows check. The script needs to print what type of drive it is back to the host.
All of these variables need to be configurable.
For spinning drives need to check the following variables.
critical temperature
exponential increasing of read/write errors
seek errors
reallocated sectors
For SSD
available spare
percentage used
temperature
reads/writes
error counts
critical warning (read-only mode, etc.)
2. Check Disk Queue Length. The script needs to be able to check the disk queue length against an adjustable variable and alert if it goes over that amount.
3. Check for recent blue-screens
4. Check for unclean shutdowns
5. Check for excessive CPU usage
I need a powershell script for a PC daily health check, this will be run throughout the day to ensure health of systems.
In order to write the error back to our system this is an example
if ($FailedBackups) {
write-host "Failed backups found. Please check diagnostic information"
Rmm-Alert -Category 'Backups' -Body "The backup might have failed. Please investigate"
}
1. Check disk health. The script needs to be able to check if the drive is an SSD or Spinning drive and check its health to try to see failures before they happen.
This needs to be done with something other than the built-in windows check. The script needs to print what type of drive it is back to the host.
All of these variables need to be configurable.
For spinning drives need to check the following variables.
critical temperature
exponential increasing of read/write errors
seek errors
reallocated sectors
For SSD
available spare
percentage used
temperature
reads/writes
error counts
critical warning (read-only mode, etc.)
2. Check Disk Queue Length. The script needs to be able to check the disk queue length against an adjustable variable and alert if it goes over that amount.
3. Check for recent blue-screens
4. Check for unclean shutdowns
5. Check for excessive CPU usage