mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-17 08:01:31 +02:00
Updated the Markdown manuals
This commit is contained in:
@ -48,11 +48,11 @@ function Bytes2String { param([int64]$Bytes)
|
||||
}
|
||||
|
||||
try {
|
||||
Write-Progress "⏳ (1/3) Searching for smartmontools..."
|
||||
Write-Progress "(1/3) Searching for smartmontools..."
|
||||
$Result = (smartctl --version)
|
||||
if ($lastExitCode -ne "0") { throw "Can't execute 'smartctl' - make sure smartmontools are installed" }
|
||||
|
||||
Write-Progress "⏳ (2/3) Scanning S.M.A.R.T devices..."
|
||||
Write-Progress "(2/3) Scanning S.M.A.R.T devices..."
|
||||
if ($IsLinux) {
|
||||
$Devices = $(sudo smartctl --scan-open)
|
||||
} else {
|
||||
@ -60,7 +60,7 @@ try {
|
||||
}
|
||||
|
||||
foreach($Device in $Devices) {
|
||||
Write-Progress "⏳ (3/3) Querying S.M.A.R.T devices..."
|
||||
Write-Progress "(3/3) Querying S.M.A.R.T devices..."
|
||||
$Array = $Device.split(" ")
|
||||
$Device = $Array[0]
|
||||
if ("$Device" -eq "#") {
|
||||
@ -95,4 +95,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-smart-devices.ps1 as of 10/19/2023 08:11:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-smart-devices.ps1 as of 12/07/2023 20:24:15)*
|
||||
|
Reference in New Issue
Block a user