Register now or log in to join your professional community.
you should open your cmd and write this word hostname
Open command prompt and type "hostname"
RUN command, then type NET VIEW
in cmd type "ping -a (ip address of the pc)"
open cmd by pressing window+r type cmd then type "hostname" in cmd
in a cmd write "hostname">
on the command prompt write "hostname"
In the command prompt type HOSTNAME
The output of this command is handled by the Net View command, however we are going to be passing in our own parameters to find a computer name.
The syntax is as follows: Net view | find /i "your parameters"
By using a pipe ( | ) we can pass our parameters to the "find" command.
The /i is the ignore case and will ignore case sensitivity when finding your results
hostname on the system and ping -a with ip for getting the hostname against IP address
go the command prompt then type "hostname" without the quotation marks.