Microsoft commands Flashcards
dir
show you all the files and folders in the directory
cd
change directory, getting into the next directory down the frame
..
go back a level
ipconfig
allows you to see network settings
netstat
allows you to see all the TCP and UDP connections
nslookup
Lookup info from DNS servers, lets you know IP address from domain name and vice versa
shutdown
shuts down system /s /t nn (in nn seconds)
restarts system /r /t nn
/a abort countdown
dism
deployment image servicing and management. Can mount image files (.wim) and edit or repair them
sfc
allows users to scan for and restore corruptions in Windows system files
taskkill
ends one or more tasks, we need PID from Tasklist
chkdsk
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
diskpart
manages the PC’s drives (disks, partitions, volumes or virtual hard disks)
gpupdate
retrieves the latest group policy updates from a domain controller, need to be a part of a domain for this
gpresult
shows the resultant set of policies for a user based on applied Group policy settings
format
applies a file system to the drive (will delete anything that’s on the disk)