Microsoft commands Flashcards

1
Q

dir

A

show you all the files and folders in the directory

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

cd

A

change directory, getting into the next directory down the frame

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

..

A

go back a level

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

ipconfig

A

allows you to see network settings

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

netstat

A

allows you to see all the TCP and UDP connections

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

nslookup

A

Lookup info from DNS servers, lets you know IP address from domain name and vice versa

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

shutdown

A

shuts down system /s /t nn (in nn seconds)
restarts system /r /t nn
/a abort countdown

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

dism

A

deployment image servicing and management. Can mount image files (.wim) and edit or repair them

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

sfc

A

allows users to scan for and restore corruptions in Windows system files

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

taskkill

A

ends one or more tasks, we need PID from Tasklist

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

chkdsk

A

Checks file system of a volume for logical and physical errors.
/f Fixes logical file system errors
/r Checks for logical file system errors and locates bad sectors and recovers readable info from that bad sector and writes it to a known good sector

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

diskpart

A

manages the PC’s drives (disks, partitions, volumes or virtual hard disks)

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

gpupdate

A

retrieves the latest group policy updates from a domain controller, need to be a part of a domain for this

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

gpresult

A

shows the resultant set of policies for a user based on applied Group policy settings

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

format

A

applies a file system to the drive (will delete anything that’s on the disk)

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

copy

A

copying data from one destination to another
/v Verifies that new files are written correctly.
/y Suppresses prompting to confirm that you want to overwrite an existing destination file.

17
Q

xcopy

A

copies files and directories, including subdirectories

18
Q

robocopy

A

xcopy with more options
/s Copies a subdirectory excludes empty directories
/e Copies a subdirectory including empty direcories

19
Q

netuse

A

used to connect to, remove and configure connections to shared resources, like mapped drives or network printers

20
Q

netuser

A

is used to add, remove, and make changes to the user accounts