220-1102 · Question #409
A user requires a drive to be mapped through a Windows command line. Which of the following command-line tools can be utilized to map the drive?
The correct answer is B. net use. To map a network drive through the Windows command line, the net use command-line tool is specifically utilized. This command allows users to connect to shared network resources and assign them a local drive letter.
Question
A user requires a drive to be mapped through a Windows command line. Which of the following command-line tools can be utilized to map the drive?
Options
- Agpupdate
- Bnet use
- Chostname
- Ddir
How the community answered
(16 responses)- A6% (1)
- B88% (14)
- C6% (1)
Why each option
To map a network drive through the Windows command line, the `net use` command-line tool is specifically utilized. This command allows users to connect to shared network resources and assign them a local drive letter.
The `gpupdate` command refreshes Group Policy settings, which is unrelated to mapping network drives directly.
The `net use` command is the standard Windows command-line utility used to connect to shared network resources, including mapping a drive letter to a network share.
The `hostname` command displays or sets the host name of the current machine, which is irrelevant to mapping network drives.
The `dir` command lists the contents of a directory, which is a file system navigation command, not a drive mapping command.
Concept tested: Windows command line utilities - net use
Source: https://learn.microsoft.com/windows-server/administration/windows-commands/net-use
Topics
Community Discussion
No community discussion yet for this question.