Windows Command-Line Tools

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/50

flashcard set

Earn XP

Description and Tags

51 Terms

1
New cards

What is the Windows command-line utility for directory traversal

cd


2
New cards

What is the Windows command-line utility used to list all files and subdirectories in the current directory

dir


3
New cards

What is the Windows command-line utility that can be used to display TCP/IP config settings

ipconfig

4
New cards

What is the Windows command-line utility used for checking the reachability of a remote network host

ping

5
New cards

What is the Windows command-line utility used for displaying active TCP/IP connections and displaying network protocol statistics

netstat

6
New cards

What is the Windows command-line utility that tracks and displays the route taken by IP packets on their way to another host, as well as displaying round-trip latency on each hop

tracert

7
New cards

What is the information provided by tracert used for

  • Identifying network bottlenecks

  • Diagnose where delays or packet loss are occuring

  • Determine whether a routing issue is within the local network, the ISP, or further along the network path


8
New cards

What windows command-line utility combines the features of ping and tracert

pathping

9
New cards

What is the Windows command-line utility is used to verify file system integrity and fix logical file system errors

chkdsk

10
New cards

What is the Windows command-line utility used to initialize a drive by setting it up with a structure that supports file storage

format

11
New cards

What Windows command-line command launches a text-based, command-line partitioning utility

diskpart

12
New cards

What is a Windows command-line utility used to create a directory or subdirectory

md or mkdir

13
New cards

What is the Windows command-line utility that is used to delete a directory

rmdir

14
New cards

What is a Windows command-line copying utility that offers the widest range of options

robocopy

15
New cards

What is the Windows command-line utility that displays the name of the current computer the user is connected to

hostname

16
New cards

What is the Windows command-line utility that, when run on a computer without adding additional parameters, lists all local user accounts configured on that specific computer

net user

17
New cards

What is the Windows command-line utility that launches a pop-up window containing a brief summary of the installed OS

winver

18
New cards

What is the Windows command-line utility that provides information about the currently logged-on Windows user

whoami

19
New cards

What is the standard syntax in Windows comamand-line for displaying help or usage information related to a specific utility

[command name] /?

20
New cards

What is the Windows command-line utility that refreshes Group Policy settings on a local computer without requiring a restart or logoff

gpupdate

21
New cards

What is the Windows command-line utility that can be used to display current Group Policy settings for a user or computer

gpresult

22
New cards

What is the Windows command-line utility that replaces incorrect system file versions with correct MS versions and scans the integrity of all protected system files

sfc

23
New cards

What is the Windows command-line utility that moves the command-line prompt one folder up in the directory tree (sets the prompt at the parent folder of the current folder)

cd ..

24
New cards

What is the Windows command-line utility that changes the current directory to the root directory

cd \

25
New cards

What is the syntax of the Windows command-line utility to access all .exe files within a directory, including those in subdirectories

dir /s *.exe

26
New cards

What is the Windows ipconfig parameter used for displaying the full TCP/IP config information for all adapters

/all

27
New cards

What are the two Windows command-line utilities used to refresh the DHCP configuration for all network adapters

ipconfig /release

ipconfig /renew

28
New cards

What is the Windows command-line syntax to verify whether the TCP/IP stack on the local Windows machine is functioning correctly

ping 127.0.0.1

29
New cards

What is the netstat paramater in Windows used to display all active TCP/UDP connections and listining ports

-a

30
New cards

What is the netstat paramater in Windows used to view the name of the application associated with each active connection or listining port

-b

31
New cards

What is the netstat paramater in Windows used to display addresses and port numbers in numerical form

-n

32
New cards

What is the Windows command line utility used to troubleshoot DNS-related problems

nslookup

33
New cards

What is the Windows syntax used to map a network share located at \\SERVER\Data to the drive letter z: on a user’s computer

net use Z: \\SERVER\Data

34
New cards

What is the command-line utility that traces the path to the destination and measures latency and packet loss

pathping

35
New cards

What does the /f switch of the Windows chkdsk command-line utility instruct it to do

Automatically repair detected file system errors on the disk

36
New cards

What Windows command-line utility identifies and attempts to recover any readable data from bad sectors on a disk

chkdsk /r

37
New cards

What variant of format should be used to prepare a drive to reinstall Windows on a PC by removing all file system references to existing data without performing a thorough overwrite

format d: /q

38
New cards

What is normally the problem when a command fails to run and gives the “Access is denied” error

The utility was not launched with admin privleges

39
New cards

What is the difference in md and mkdir command-line utilities in MS Windows

No difference, as both provide the same functionality

40
New cards

What is the syntax used to delete an entire directory named Data located at C:\Files\Data along with all its subdirectories and files using the Windows command-line

rmdir /s /q "C:\Files\Data"

41
New cards

What is the Windows command-line utility used to automatically copy an entire folder tree, including all subdirectories and empty folders, from a network drive to a local backup location and must retry failed copies automatically

robocopy

42
New cards

What is the Windows command-line utility used to copy a very large volume of files from one Windows host to another and must resume automatically if interrupted due to network issues

robocopy

43
New cards

What is the Windows command-line utility used to check if a user account has been locked out or disabled due to multiple failed login attempt and check when the account was last logged in and whether it requires a password

net user [account name]

44
New cards

What Windows command-line utility is used to check the identity of a remotely accessed computer

hostname

45
New cards

What is the Windows command-line utility used to confirm the Windows OS version and build number

winver

46
New cards

What whoami parameter is used to view a comprehensive snapshot of the current user’s security context, including privileges, group memberships, logon ID, and security identifiers

/all

47
New cards

What is the alternative syntax to /? following a command to display help information

help [command name]

48
New cards

What command, when used with no parameters, displays a list of all available system commands along with a brief description of each command

help

49
New cards

What is the default behavior of the gpupdate command if no paramaters are specified

Refreshes both user and computer policies

50
New cards

What is the gpresult parameter used to get a concise report of all Group Policy settings that have been applied to a specific host

/r

51
New cards

What is the sfc parameter that enables a file check that scans the integrity of all protected system files and attempts to repair corrupted files

/scannow