PrepAway - Latest Free Exam Questions & Answers

Which command should you include in the startup script?

You administer 80 computers that run Windows 7.

The computers have static IP addresses.

You need to change the static IP addresses on all the computers by using a startup script.

Which command should you include in the startup script?

PrepAway - Latest Free Exam Questions & Answers

A.
Ipconfig.exe

B.
Nbtstat.exe

C.
Netstat.exe

D.
Netsh.exe

Explanation:
Netsh.exe
Netsh.exe is a tool an administrator can use to configure and monitor Windows-based computers at a command prompt. With the Netsh.exe tool, you can direct the context commands you enter to the appropriate helper, and the helper then carries out the command. A helper is a Dynamic Link Library (.dll) file that extends the functionality of the Netsh.exe tool by providing configuration, monitoring, and support for one or more services, utilities, or protocols. The helper may also be used to extend other helpers.

You can use the Netsh.exe tool to perform the following tasks:

* Configure interfaces.
* Configure routing protocols.
* Configure filters.
* Configure routes.
* Configure remote access behavior for Windows-based remote access routers that are running the Routing and Remote Access Server (RRAS) Service.
* Display the configuration of a currently running router on any computer.
* Use the scripting feature to run a collection of commands in batch mode against a specified router.

The syntax for the Netsh.exe tool is:
netsh [-r router name] [-a AliasFile] [-c Context] [Command | -f ScriptFile]
To display a list of subcontexts and commands that can be used in a context, type the context name followed by a space and a ? at the netsh> command prompt. For example, to display a list of subcontext and commands that can be used in the /routing context, type routing ? at the netsh> command prompt, and then press ENTER.


Leave a Reply