Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: how to: resolve workstation name from an ip address..powershell how to

22 May 2015   #1
ego100

windows 7 64 bit
 
 
how to: resolve workstation name from an ip address..powershell how to

I am stuck at resolving a workstation name from a given ip address on a network. Please offer any suggestions including powershell scripts. thanks


My System SpecsSystem Spec
.
23 May 2015   #2
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

PowerShell has a wonderful type accelerator: System.Net.Dns, that's dedicated to retrieving host names.

Code:
PS C:\Windows\System32> [Net.Dns]::GetHostByAddress('192.168.1.102')

HostName                                Aliases                                 AddressList
--------                                -------                                 -----------
RemoteComputer-PC                                {}                                      {192.168.1.102}


PS C:\Windows\System32>[Net.Dns]::GetHostByAddress('192.168.1.102').HostName
RemoteComputer-PC
My System SpecsSystem Spec
Reply

 how to: resolve workstation name from an ip address..powershell how to




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
http://tracert.com/ can ping and resolve address, but i cant
Hello, Ive been trying to ping (www)rust.grayles.com (just a subdomain Ive made) via Tracert - Tracertoute, Ping and Web site performance monitoring. however despite the results being successful, no PC on my network can ping it etc " PING rust.grayles.com (176.9.113.7): 56 data bytes 64 bytes...
Network & Sharing
Powershell
I was running a script on my 32bit OS that opened up IE and logged me onto my company's vpn. I am now using 64bit OS and My company's vpn does not like 64bit IE. (firefox and chrome are also iffy with our vpn, IE is the only 'official one they support'). When the script runs now on my 64bit os....
General Discussion
PowerShell 3.0 for Win 7 now available
Download: WMF 3.0 - Microsoft Download Center - Download Details You will notice in the requirements that Service Pack 1 must be installed. You will be downloading: Windows Management Framework 3.0 which includes: PowerShell 3.0, WMI & WinRM
News
'No Internet Access' IP address shows router not the modem IP address
Hey everyone. I've ran into a problem that I can't quite figure out. My internet connection shows 'no internet access' even though my ISP shows the connection is coming into the house just fine. I usually use a router (NetGear-WNR3500U) but I right now I have the Ethernet connection plugged...
Network & Sharing
Powershell get-acl help
Hi, I was thinking of making a script for powershell, but it was harder than i thought. I'am a beginner of the beginners when it comes to powershell, so i was wondering if any of you could help me (or maybe make me one) with making one. This is what i was thinking of(not sure if this is even...
Software


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:00.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App