Using Available.bat, I have scripted Not_Available.bat to report all the NetBIOS computer names in the domain you are logged onto that do not respond.
The syntax for using Not_Available.bat is:
NOTE: If you wish to process the output, use:
for /f "Tokens=*" %%c in ('Not_Available') do ( :: %%c contains the NETBios computer names that are not available. @echo %%c )Not_Available.bat contains:
@echo off setlocal for /f "Tokens=1,2" %%c in ('Available') do ( if "%%d" EQU "N" @echo %%c ) endlocal