Windows Commands Flashcards

1
Q

/?

A

View help info about a command

Ex:
ping /?

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

ping -l

A

Specifies a packet size

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

ping -a

A

Reverse PTR record lookup - provides IP address of a domain name

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

PTR record lookup

A

DNS pointer record provides domain name of an IP address

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

ping -t

A

Continuous ping

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

ipconfig

A

Display a a computer’s TCP/IP configuration

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

ipconfig /all

A

Display info for all network cards

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

nslookup

A

Check DNS records and troubleshoot DNS

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

tracert

A

Track the pathway a packet takes from source IP to the destination address

Display each hop (router) that the packet passes through

Ex:
tracert google.com

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

shutdown

A

Shuts down computer

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

shutdown /r /m \pc2

A

Restart computer pc2

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

shutdown /s /m \pc2

A

Shut down remote computer

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

shutdown /d

A

Previous shutdown/restart logs

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

gpupdate

A

Apply group policies on a computer in a windows domain

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

netstat

A

Display network connections

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

netstat -a

A

Display all active and listening ports

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

dcdiag

A

Analyze the state of your domain controllers

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

Domain controllers

A

A server that provides critical services like authentication and authorization for an Active Directory domain

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

net stop and net start

A

Start and stop windows services

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

systeminfo

A

Displays configuration details on a computer

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

systeminfo /s

A

Remote computers

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

getmac

A

Get MAC address from all network cards on a system

Use /s for remote computers

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

gpresult

A

Reports on what group policies and settings are applied to a user or computer

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

whoami

A

Display current user

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
set
Displays environment variable information
26
cd
Change directory
27
mkdir
Make directory
28
sfc
System file checker
29
sfc /scannow
Scan all protected operating system files and repair if needed
30
sfc /verifyonly
Runs test without repairing
31
chkdsk
Scans the file system on the disk and checks the integrity of the files and metadata
32
chkdsk /f
Fox any errors found on the disk
33
route print
View local computers routing table Useful when the computer has multiple network interface cards and you need to determine the route network traffic is taking
34
powercfg /list
List all power schemes
35
tasklist
Display the running processes
36
taskkill
Terminate a process by the PID Force with /f Ex: taskkill /pid 1808 /f
37
format
Format a partition on a hard drive or flash drive Wipes all data from the partition Example formatting the E drive to the NTFS file system format e: /fs:NTFS
38
cls
Clear screen
39
diskpart
Manage disks, partitions, volumes on your local computer
40
robocopy
Robust copy, copy files and directories from one location to another
41
xcopy
Copy all files and folders to a new location Ex: xcopy c:\myfolder e:myholder
42
del
Delete files and folders
43
del c:\it\*.exe
Delete all exe files
44
del c:\it\*.*
Delete files and sub folders
45
schtasks
Lets you add, remove, change and view scheduled tasks
46
net user
Displays user account information on a local computer
47
net user /domain
Displays user account information on a domain
48
arp
Displays and modified the address resolution protocol cache on the local computer
49
hostname
Displays the host name of the computer
50
cipher
Overwriting deleted data in windows Makes it unrecoverable Ex: cipher /w:c:\it\private
51
fc
File compare Compares two files and displays the difference
52
psexec
Allows you to execute commands on remote computers
53
rspop
Creates a report of the policies applied to a computer and user
54
mmc
Opens Microsoft management console
55
dir
Lists all files and directories in a specific directory
56
dir /p
Pause the directory listing
57
runas
Run a tool or program as a different user
58
rmdir
Remove empty directories
59
rmdir c:\it\private /s
Delete a directory and the files inside it
60
ver
Displays windows version
61
findstr
Searches for patterns of text in files