mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-06-30 04:31:39 +02:00
Fix wrong '$DevInfo++' - many thanks to OlegBoul
This commit is contained in:
@ -51,7 +51,7 @@ try {
|
||||
$Cmd = "smartctl --all --json " + $Device
|
||||
|
||||
Invoke-Expression $Cmd > $Filename
|
||||
$DevInfo++
|
||||
$DevNo++
|
||||
}
|
||||
|
||||
"✔️ Done."
|
||||
|
Reference in New Issue
Block a user