You can use command line tools to quickly get information about your computer and network and to help diagnose network problems. The commands in this topic are for TCP/IP networks.

  • First of all open the Command Prompt window by clicking the Start In the search box, type Command Prompt, and then, in the list of results, click Command Prompt. Or press (windows + R) press enter the RUN window will open, and then type CMD and enter. Waiting a short time it will opened.

Most Important Commends of Network

How do I find my computer name?

 At the command prompt, type <hostname> and then press Enter.

How do I find my computer’s IP address?

 At the command prompt, type <ipconfig> and then press Enter.

For more information about the ipconfig command, at the command prompt, type <ipconfig /?> and then press Enter. Waiting for a short time it will show you.

Important Commends of Network
Important Commends of Network

How do I find my computer’s physical address, control (MAC) address?

At the command prompt, type <ipconfig /all>, and then press Enter.

If your computer has more than one network adapter, the physical address of each adapter is listed separately.

How do I get a new IP address?

If your network uses Dynamic Host Configuration Protocol (DHCP), you can get a new IP address for your computer. You might need to do this if you are having connection problems.

  1. At the command prompt, type <ipconfig /release> and then press Enter.

This releases your current IP address.

  1. At the command prompt, type <ipconfig /renew> and then press Enter to get the new IP address.

The DHCP configuration for all adapters will be renewed. To renew the IP address for a specific adapter, type the adapter name that appears when you type ipconfig at the command prompt.

How do I look up an IP address using domain name system (DNS) name?

 At the command prompt, type <ping> DNS name, and then press Enter.

How do I lest communication with other computer?

 At the command prompt, type ping IP address of the computer you want to test, for example <ping 192.168.10.9 –t> and then press Enter. Then it will show you the IP address.

Find All Active/Used IP Addresses on Your Network
There is a really neat way that you can quite easily find all active/used IP Addresses on your network without the need for any third party applications or worse, pinging each IP Address individually.

Open the Command Prompt and type in the following:

FOR /L %i IN (1,1,254) DO ping -n 1 192.168.10.%i | FIND /i “Reply”>>c:\ipaddresses.txt.  And then Press Enter button.

How I know about Systeminfo?

Have a need to display operating system configuration information for a local or remote machine, including service pack levels? Then< systeminfo > is the tool to use. When I need to connect to a system that I am not familiar with, this is the first tool I run. The output of this command gives me all the information, I need including: host name, OS type, version, product ID, install date, Boot time and hardware info (processor and memory) or any other information. Also knowing what hot fixes are installed can be a big help when troubleshooting problems. This tool can be used to connect to a machine remotely using the following. Type <Systeminfo> and then press enter.

Important Commends of Network
Important Commends of Network

What is Tasklist?

If you work with Task Manager <ctrl+alt+del>, you can easily understand this.  Task list is list of task which are running on windows currently.  If you open any application, it will be added to task.

To List the Tasks type in CMD as: Tasklist.

Important Commends of Network
Important Commends of Network

What is net command?
Although this tool is more known as a command, the net command is really like a power drill with different bits and is used to update, fix, or view the network or network settings.
It is mostly used for viewing (only services that are started), stopping and starting services:

  • net stop server
  • net start server
  • net start (display running services)

Gpedit.msc: it will be opened the Local group policy Editor, and you can bring any changes the policy your Computer.

Important Commends of Network
Important Commends of Network

Gpupdate /force: it is used to update the policy that you have been aplloy in your local policy editor.

Important Commends of Network
Important Commends of Network

They ware they most important commends of network. I wish success for you dear.

By lutfullah moqadam