mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-29 13:14:49 +02:00
Switched to conveyance selftest
This commit is contained in:
parent
c9867174cd
commit
3ef424ad70
@ -48,10 +48,10 @@ try {
|
|||||||
continue
|
continue
|
||||||
} elseif ($IsLinux) {
|
} elseif ($IsLinux) {
|
||||||
$details = (sudo smartctl --all --json $dev) | ConvertFrom-Json
|
$details = (sudo smartctl --all --json $dev) | ConvertFrom-Json
|
||||||
$null = (sudo smartctl --test=short $dev)
|
$null = (sudo smartctl --test=conveyance $dev)
|
||||||
} else {
|
} else {
|
||||||
$details = (smartctl --all --json $dev) | ConvertFrom-Json
|
$details = (smartctl --all --json $dev) | ConvertFrom-Json
|
||||||
$null = (smartctl --test=short $dev)
|
$null = (smartctl --test=conveyance $dev)
|
||||||
}
|
}
|
||||||
$status = "✅"
|
$status = "✅"
|
||||||
$modelName = $details.model_name
|
$modelName = $details.model_name
|
||||||
|
Loading…
Reference in New Issue
Block a user