This will work only if you have pstools installed on both of computers.
@echo offSave it as batch file and run it.
set /p comp=Type IP or HOSTNAME:
echo.
IF "%comp%"=="" GOTO Error
c:\pstools\pslist \\%comp% -s
echo.
pause
GOTO End
:Error
echo No IP inserted.
echo.
pause
:End
nice and easy
ReplyDelete:)
Delete