Search results
- PING. Used for: Troubleshooting network connection issues. Command to enter: ping. The ping command is one you are likely to be familiar with as it is one of the most widely used utilities, but it is still essential nonetheless.
- IPCONFIG. Used for: Quickly finding your IP address. Command to enter: ipconfig. IPConfig is one command I find myself using a great deal as it can provide you with a lot of useful information from just the one command.
- GETMAC. Used for: Quickly finding your MAC address. Command to enter: getmac. In order to be compliant with the IEEE 802 standards, each device must have a unique MAC (Media Access Control) address.
- ARP. Used for: Troubleshooting network connection issues. Command to enter: arp. ARP stands for Address Resolution Protocol and the command is used to map an IP address to a MAC address.
- Ping. Of all the Windows 10 network commands, Ping is probably the one almost everyone knows about and has used before. The Ping command allows you to test the reachability of a device on a network.
- IPConfig. The IPConfig command is one of the more useful basic Windows network commands everyone should know and use to troubleshoot problems. The IPConfig command displays basic IP address configuration information for the Windows device you are working on.
- Getmac. Every network capable device on the internet has a unique identifying number called its MAC address. The number is assigned during manufacture and is established in the hardware of the device.
- HostName. The Windows 10 HostName network command will simply display the current name of your Windows 10 computer (Figure B). This is the name your computer uses to identify itself to the other devices and servers on your local network.
- Overview
- Net Command Availability
- Net Command Syntax
- Net Command Examples
- Related Commands
Trending Videos
The net Command Prompt command manages almost any aspect of a network and its settings, including network shares, network print jobs, and network users.
The net command is available from within the Command Prompt in all Windows operating systems including Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP.
The availability of certain net command switches and other net command syntax may differ from operating system to operating system.
The command takes the following general form:
net [accounts | computer | config | continue | file | group | help | helpmsg | localgroup | name | pause | print | send | session | share | start | statistics | stop | time | use | user | view]
Learn how to read command syntax if you're not sure how to interpret the net command syntax shown above or described below.
Net Command Options
Option Explanation
net Execute the net command alone to show information about how to use the command which, in this case, is simply a list of the net subset commands.
net view
This is one of the simplest net commands that lists all the networked devices.
net share Downloads=Z:\Downloads /GRANT:everyone,FULL
In the above example, I'm sharing the Z:\Downloads folder with everyone on the network and giving all of them full read/write access. You could modify this one by replacing FULL with READ or CHANGE for those rights only, as well as replace everyone with a specific username to give share access to just that one user account.
net accounts /MAXPWAGE:180
This example of the net accounts command forces a user's password to expire after 180 days. This number can be anywhere from 1 to 49,710, or UNLIMITED can be used so that the password never expires. Default is 90 days.
The net commands are network-related commands and so may often be used for troubleshooting or management alongside commands like ping, tracert, ipconfig, netstat, nslookup, and others.
Nov 25, 2011 · The syntax of this command is: NET VIEW. [\\computername [/CACHE] | [/ALL] | /DOMAIN[:domainname]] NET VIEW displays a list of resources being shared on a computer. When used. without options, it displays a list of computers in the current domain or. network.
Dec 8, 2022 · 17. mkdir (make directory) The mkdir command will create a directory or subdirectory. It creates the directory in the current directory. For example, in the command prompt, my path is c:\it, if I type mkdir folder1 it will create folder1 in the c:\it folder. If I look in windows explorer I’ll see the folder1 directory.
Oct 28, 2019 · If you see that suspicious computer talking to a strange IP address, use the nslookup command (in the command prompt in Windows, or in a terminal in OS X or Linux) to get its hostname. That...
People also ask
How do I manage a network from a command prompt?
Should I use CMD commands for networking?
Is your home network a vault?
Aug 19, 2023 · Use the Command Prompt to control your Wi-Fi network. Here are the most useful commands for troubleshooting your home network.