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
Q

set

A

Displays environment variable information

26
Q

cd

A

Change directory

27
Q

mkdir

A

Make directory

28
Q

sfc

A

System file checker

29
Q

sfc /scannow

A

Scan all protected operating system files and repair if needed

30
Q

sfc /verifyonly

A

Runs test without repairing

31
Q

chkdsk

A

Scans the file system on the disk and checks the integrity of the files and metadata

32
Q

chkdsk /f

A

Fox any errors found on the disk

33
Q

route print

A

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
Q

powercfg /list

A

List all power schemes

35
Q

tasklist

A

Display the running processes

36
Q

taskkill

A

Terminate a process by the PID

Force with /f

Ex:
taskkill /pid 1808 /f

37
Q

format

A

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
Q

cls

A

Clear screen

39
Q

diskpart

A

Manage disks, partitions, volumes on your local computer

40
Q

robocopy

A

Robust copy, copy files and directories from one location to another

41
Q

xcopy

A

Copy all files and folders to a new location

Ex:
xcopy c:\myfolder e:myholder

42
Q

del

A

Delete files and folders

43
Q

del c:\it*.exe

A

Delete all exe files

44
Q

del c:\it*.*

A

Delete files and sub folders

45
Q

schtasks

A

Lets you add, remove, change and view scheduled tasks

46
Q

net user

A

Displays user account information on a local computer

47
Q

net user /domain

A

Displays user account information on a domain

48
Q

arp

A

Displays and modified the address resolution protocol cache on the local computer

49
Q

hostname

A

Displays the host name of the computer

50
Q

cipher

A

Overwriting deleted data in windows
Makes it unrecoverable

Ex:
cipher /w:c:\it\private

51
Q

fc

A

File compare
Compares two files and displays the difference

52
Q

psexec

A

Allows you to execute commands on remote computers

53
Q

rspop

A

Creates a report of the policies applied to a computer and user

54
Q

mmc

A

Opens Microsoft management console

55
Q

dir

A

Lists all files and directories in a specific directory

56
Q

dir /p

A

Pause the directory listing

57
Q

runas

A

Run a tool or program as a different user

58
Q

rmdir

A

Remove empty directories

59
Q

rmdir c:\it\private /s

A

Delete a directory and the files inside it

60
Q

ver

A

Displays windows version

61
Q

findstr

A

Searches for patterns of text in files