echo Critical disks: %%d
set /a critical_disks=%%d
)
)
if %%a==Failed (
if %%b==Disks (
echo Failed disks: %%d
set /a failed_disks=%%d
)
)
)
echo.
echo Physical devices information
echo.
set error_count=0
::CmdTool2 -PDList -aALL
for /f "tokens=1-4" %%a in ('CmdTool2 -PDList -aALL ^| findstr "Error Adapter Slot"') do (
if %%a==Adapter (
echo %%a %%b
echo ***
)
if %%a==Slot (
echo Device on slot %%c
)
Kommentare zu diesen Handbüchern