Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
CompTIA Server+ · CompTIA
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The command that a systems administrator should use to create a batch script to map multiple shares is option B: net use. The "net use" command is used to connect or disconnect a computer from a shared resource, such as a network drive or a printer. It can be used to map multiple shares in a batch script, allowing the administrator to automate the process of connecting to multiple network resources. Option A (nbtstat) is a command-line tool that displays information about the NetBIOS over TCP/IP (NetBT) protocol, such as the NetBIOS name table, the NetBIOS name cache, and the NetBIOS scope ID. Option C (tracert) is a command-line tool that traces the route that packets take from one network node to another, showing the IP addresses of the routers and the time it takes for the packets to travel to each router. Option D (netstat) is a command-line tool that displays active TCP connections, listening ports, and network statistics such as the number of packets sent and received, the number of errors, and the number of connections in various states.