Microsoft Command-line Tools Flashcards

(25 cards)

1
Q

What command is used to change the active drive?

A

<driveletter>:
</driveletter>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What command lists files and directories in path?

A

dir [drive:][path]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you change the active directory?

A

cd [drive:][path][..]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What command provides the name of the device?

A

hostname

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What command is used to display IP information?

A

ipconfig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the command pathping do?

A

Shows the path between systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What command is used to see the path a packet takes?

A

tracert

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What command allows you to see connections and what port is listening for traffic?

A

netstat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What command allows us to map a drive to a shared network on a folder?

A

net use [driverletter][path]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What command allows you to manage accounts?

A

net user

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What command allows for DNS lookups?

A

nslookup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What command allows you to partitions and format disks?

A

diskpart

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What command initializes and installs a file system onto a disk?

A

format

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What command verifies file structures on an already formatted disk?

A

checkdsk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What command creates a dir?

A

md [drive:] path

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What command removes a dir?

A

rd [drive:]path

17
Q

What command is used to copy and optionally decrypts files?

18
Q

What is the better copy function command?

19
Q

What command can end a process on local or remote device?

20
Q

What command can restart a computer?

21
Q

What command checks for file corruption or damage?

22
Q

What command checks for digital signatures and device drivers?

23
Q

What command is used for window images?

24
Q

What command reveals what window’s version you’re on?

25
What is powershell used for?
- Create scripts - Command Prompt alternative, especially for admin