OS Command Line Tools Flashcards
diskpart
Replaces the Pre-Windows-XP FDISK command
Format
Prepare a disk for use by the operating system; Create a new root directory.
chkdsk /f
Fixes logical errors on the disk;
chkdsk /r
Locates bad sectors, recovers information
md
Make Directory
cd
Change Directory
rd
Remove Directory
dir
Directory listing
copy /v
Verifies that new files are written correctly
copy /y
Suppresses overwrite prompts
xcopy
Copies Multiple files and directory trees.
robocopy
- Replaces xcopy
- Designed to handle NTFS file system details.
tasklist
- Displays a list of currently running processes
- Local or remote device
taskkill
Terminate tasks by process id (PID) or image name
sfc
Scan integrity of all protected system files
extract /d
Display files in a cabinet
extract /a
Extract a file
gpupdate
force a Group Policy update
gpresult
Verify policy settings for a computer or user.