My googlefu has failed me. Is there a way to substitute an IP address for a computername in the -computername parameter?
For example, if I try: get-process -computername So far the only thing I found by google was using nbtstat -A The help says differently. To specify the local computer, type the computer name, a dot. Except that when I use the actual name, it works, no credentials supplied other than maybe what I used to start powershell.
On my system Win7, WMF 5. But that's kind of a moot point. I was hoping to use some powershell commands on an ad-hoc network that doesn't have an [internal] DNS server anyway. That's why I'm hoping to do it via IP address. The authentication protocol varies based on what you specified as remote computer. To query the local host, you usually use a.
Resolve-DnsName -Name 8. Don't have resolve-dnsname.
I am on Win7, but using WMF 5. Cake Day. To watch a video on My Account enhancements and updates, click here To view the "What's New with My Account" document, click here To acknowledge viewing this notification and to dismiss it from showing again, click here.
You can find the hostname of any computer with a public IP address by Type " nbtstat -A %ipaddress%" at the command prompt in the black window that opens . A quick way to find the name of a networked computer using the Windows command prompt.
How do I ping a computer by computer name or IP address? Type CMD in the Run line.
Check the connection cable, router, hub, switch. Run the Configuration Utility. Solution Tools. Email Print.
To provide feedback on this solution, please login. Article Feedback Your feedback about this article will help us make it better.
Thank you! Submit a ticket. Web servers and other computers that need a consistent point of contact use static IP addresses. Related 6. It's similar to dig, but it displays simpler information. However, before you do so, you must first follow the process to upgrade from basic to full access. Search instead for.
Thank you! Email Solution.
Email address. Cancel Send.