Windows – NetBios lookup from command line/powershell in Vista

netbiospowershell-2.0windows

Am trying to resolve an IP address to its Netbios name via the command line or via powershell. the system I am using is Vista SP2 so I do not believe NBLookup.exe will work. are there any alternatives to this?

Best Answer

View the netbios table per connection by executing the following on the command line or in powershell. Do mind that -A is case sensitive. -A resolves IP to name, -a resolves name to IP.

nbtstat -A xxx.xxx.xxx.xxx