Advance

Windows network settings with netsh command

Windows network settings with netsh command
5
(1)

As the most of our clients are windows network administrations, in this article we are going to learn about windows network settings with netsh command, since it is one of the prerequisites for them. Command Prompt consists of many commands that you can use for each Windows setting. As a network administrator, you must be familiar with Windows Server core operating system, and you know that all settings in this type of Windows are done with Command Prompt commands. Therefore, we intend to teach some CMD commands which is a prerequisite for working with servers. The netsh command is an external command that has many capabilities.

 

Windows network settings with netsh command

The netsh command is an external command that has many capabilities.

1– Windows network settings
2– Windows firewall settings
3– BranchCache settings
4– Wireless settings
5– DHCP settings

The mentioned features are just some of all, and in this article we are going to explain more about the network settings by the netsh command, so in this tutorial, the instructions are structurally and you can use them according to the available title.

Recommended Article: How to Setup OpenVPN On Windows Server 2019

Do you need your own VPS? Join us here

Prerequisite CMD commands for servers

1- View all network cards with netsh

netsh interface show interface

2- See the settings of all system network cards

netsh interface ip show config

3- Set static IP with netsh command

command structure:

[netsh interface ip set address "Connection name" static [IP addres] [Subnet Mask] [Default Gateway  An example:  netsh interface ip set address "ethernet" static 192.168.0.101 255.255.255.0 192.168.0.1

4- Set static DNS with netsh command

command structure:

netsh interface ip add dns "connection name" [IP DNS]

In the first example, we set the primary DNS to 8.8.8.8.

netsh interface ip add dns "ethernet" 8.8.4.4 index=2

5- Disabling and activating the network card

netsh interface set interface "ethernet" disabled  netsh interface set interface "ethernet" enabled

Note: The first line disables the ethernet network card and the second line activates it.

6- Putt the IP in DHCP mode

netsh interface ip set address "ethernet" dhcp

Note: All of the above commands have been prepared and configured for Windows network settings with the netsh command, and As soon as possible we would learn more about netsh command features.

 

Dear user, we hope you would enjoy this tutorial Windows network settings with netsh command, you can ask questions about this training in the comments section, or to solve other problems in the field of Eldernode training, refer to the Ask page section and raise your problems in it.

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

View More Posts
Marilyn Bisson
Content Writer
Eldernode Writer
We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

Leave a Reply

Your email address will not be published. Required fields are marked *

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day