The NETDOM utility from Supplement Two of the Resource kit can list members with the NETDOM member command. You can use this feature with the following member.bat file placed in your path:
"" goto badp.. echo %%j >>%1
If exist %1 del /f /q %1
for /f "Skip=5 Tokens=1* Delims=\" %%i in ('netdom member') do if not .%%j.
@echo Syntax: member "<Drive:>\<Path>\Filename.ext"
To generate a file of member computer names, type: