Commands Flashcards
taskkill
Terminates a process identified by a name or process ID (PID)
Switches:
/S [system name]
/IM [process image name]
/PID [process id]
bootrec
Used to interact with the master boot record (MBR), boot sector, or boot configuration data (BCD) store.
Switches: /fixboot = write a new boot sector /fixmbr = write a new MBR /rebuildbcd = rebuild BCD store /scanos = scan all disks for installations the boot manager menu is not listing
shutdown
Used to schedule a shutdown.
Switches:
tasklist
list all running processes
cd
shorthand for chdir
md
shorthand for mkdir
rd
shorthand for rmdir
chdir
change directory
mkdir
make directory
rmdir
remove directory
del
delete files and directories
format
wipe data off disks and prepare them for new use
diskpart
partition hard drives
copy
copies a file to a second location
xcopy
copies files and directories
robocopy
robust file copy
sfc
system file checker - checks and verifies versions of system files on your computer
chkdsk
create and display status reports for the hard disk
gpupdate
update group policy settings
gpresult
shows the Resultant Set of Policy (RSoP) report/values for a remote user and computer
dir
list files and folders in a directory
exit
closes the current environment
expand
expand one or more compressed files–usually security patches or critical updates.
help
gives you information on specific command