looking for a Windows machine from IP

The command should solve it:
nbtstat -a IP
where IP is the IP adress of the machine.