Microsoft Command-Line Tools Flashcards
What are the 2 command used for each of the following:
- Directory traversal
- LIsting ALL Directory files and sub directories
Traversal
- CD
- ChDir
Listing Dir
- DIR
- DIR * . *
What are the 2 command used for each of the following:
- Creating a new Directory
- Deleting a Directory
(Provide both names)
Creating
- md
- mkdir
Deleting
- rd
- rmdir
What are 2 reasons the command-line utility Netstat is used for
- Displaying TCP/IP Connections
- Displaying network protocol statistics
If you wanted to obtain an FQDN-to-IP address mapping, what command-line tool would you use?
nslookup
What Command Prompt utility allows you to verify the file system integrity and fix logical file system errors on a disk?
chkdsk
Describe what the commands below display:
- net use
- net share
- Current connections TO shared resources
- Shared Resources FROM the computer
Describe what the commands below display:
- net user
- net accounts
- Lists user accounts for the computer
- Lists Account Policies for the computer
A network command-line utility in MS Windows that tracks and displays the route taken by IP packets on their way to another host is known as:
tracert
For a newly added storage drive, this command-line command allows to configure it with a file system enabling Windows to store information on the drive
format
copy command
- What is it used for?
- What does the “/v” switch do?
- What does the “/y” switch do?
- Used to copy one or more files from one location to another
- Verifies that the new files are written correctly
- Suppresses the confirmation prompt about to overwrite existing file?
What are 2 commands that allows for copying multiple files and directories, including subdirectories?
(Which offers more options?)
- xcopy
- robocopy (more options)
What are the commands for the following:
- Updating multiple Group Policy settings in MS Windows
- Display Group Policy Information for machine/user
- gpupdate
- gpresult
shutdown command
What are the following switches used for?
* /s
* /r
* /s /t 30
* /a
shutdown
- shutdown machine
- restart machine
- shutdown machine in 30 seconds
- abort shutdown
sfc
- What does the Command Prompt utility do?
- What does the /scannow switch do?
- Scans the integrity of system files and replaces incorrect/old versions with correct versions
- Attempts to repair corrupted files
What is the name of the command utility that launches a text-based, partitioning utility?
diskpart