8

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?

Pylsa
  • 30,630
  • 16
  • 89
  • 116

1 Answers1

12

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
Pylsa
  • 30,630
  • 16
  • 89
  • 116
  • Thanks very much. looking at my command history i have been using nbstat rather than nbtstat. just assumed it had been removed from vista! Thanks for the swift response –  Feb 15 '11 at 12:58
  • @TimAlexander You're very welcome! – Pylsa Feb 15 '11 at 12:58