Код:

@echo off &setlocal enableextensions
:: Usage: Temperature.cmd sda sdb
set smartctl="C:\Program Files\NSClient++\scripts\smartctl.exe"
for %%d in (%~1 %~2 %~3 %~4 %~5 %~6 %~7 %~8 %~9) do (
for /f "tokens=8" %%t in ('%smartctl% -f brief -A %%d ^|findstr /c:Temperature_Celsius') do echo Temperature %%d = %%t
)
pause