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