How can I find out what a remote Windows PC thinks its host name is, given its IP? From Windows cmd.exe or a Linux shell.
I'm not interested what a DNS server thinks the host name is for an IP, just what the machine which responds to an IP address thinks its name is.
I do not want to use RDP but do have access to an administrative user on the destination PCs.