Get Help Command
To get help on the command prompt, type the command and add this “/?” at the end of the command and press enter, it will give you the details of the command what it does and how is done.
Assuming you want help on this “ipconfig/?” and you type it in the command prompt and press enter, information will be given.
Find Network Details
To get network details such as IP address and Subnet Mask or Default Gateway. Type “ipconfig” and press Enter in the command prompt all the details of your network will be given.
To Know IP Address of a Website
To know the IP address of any website type into the command prompt “nslookup” command with the website name. Assuming you want to know the IP address of ipconfigured.com, just type “nslookup ipconfigured.com” to get the IP address.
To know about who is establishing a connection with your computer you need this command tool to do that. This command gives you the information about all active connection and listening ports. You can use the Netstatcommand with these attributes
Enter net -a [To display all connection].
Enter net -b [To display executable name].
Enter net -n [To sort connection numerical form].
Enter net -r [To display the routing table].
This command is related to networking and is most important for troubleshooting the problems related to TCP/IP.
To display TCP/IP related Information
To display DNS cache
To delete the local cache of DNS
Net Related Commands
Net is a command tool which is used to see the statistic of network. With this command it gives the information about active connection. This command is used to view or update network settings.
To view the services that has started
Enter net start (to check the services that are currently running)
Enter net stop server (when the server is not running any service).
To connect and share network devices use the following command.
- Enter net use m:sharedservername (connecting to share network drives).
- Enter net use m:sharedservername/delete (to disconnect from sharing network drives).
Recommend To Read: Some Useful Command Prompt You Must Know