Which of the following is a valid use of the netsh command in Windows?
2023
Which of the following is a valid use of the netsh command in Windows?
- A.
To modify network interface settings.
- B.
To create a new directory.
- C.
To open the Task Manager.
- D.
To install a software application.
- E.
To check the system temperature.
Attempted by 8 students.
Show answer & explanation
Correct answer: A
Concept
netsh (Network Shell) is a built-in Windows command-line scripting utility used to display and modify the network configuration of a running computer. It works through contexts such as interface, wlan, and firewall, each exposing commands that read or change network components.
Application
Because netsh operates on network components, it is used to view and change settings of network interfaces, for example assigning a static IP address, setting the DNS server, enabling or disabling an interface, or managing the firewall. Therefore, modifying network interface settings is a valid use of netsh.
Why the other choices do not fit
Creating a new directory is done with the mkdir (or md) command, which manages the file system, not the network configuration.
Opening the Task Manager is done with taskmgr or Ctrl+Shift+Esc; it is a process/performance tool, unrelated to network shell scripting.
Installing a software application is handled by an installer (msiexec, winget, or a setup package), not by a network configuration utility.
Checking the system temperature is a hardware-sensor reading exposed by firmware/third-party tools, not something netsh can report.