IP address for -computername

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 (which is the computer I’m on), I get an error (couldn’t connect to remote machine).

But if I use the computer’s name, it works.

So far the only thing I found by google was using nbtstat -A to get the computer’s name, the substitute that in the get-process command.

submitted by /u/redsedit
[link] [comments]

Leave a Reply