SYS 140: Week 9 reading - WanderlustPenguin/Charles-Tech-Journal GitHub Wiki
Many computer issues are software based
The command prompt is used for accessing tools related to troubleshooting, and for troubleshooting itself
Different groupings of files can be found in the directory using the command prompt
Said directories can be found in the root directory, which all of them are contained within
The easiest way to navigate through a directory is using the cd command
The RD command is a command that removes a directory, and can only be done in an empty directory
This command is used for cleaning up the directory list by removing unused directories
The MD command creates a directory based on where you are in the directory structure
This command can be used to make subdirectories, which can help organize things and make finding files easier in the future
The del command deletes a file. You type del and then the file name. This command cannot be used to delete a directory
The TYPE command reveals the words in text and batch files. This allows you to actually read them in the command prompt
It is possible to copy a file or directory using the xcopy command
It is written: xcopy (copied file) (where file is copied to)
The robocopy command copies entire directories and subdirectories
The attrib command can show or change the attributes of a file
Attributes are things such as whether the file is hidden, is read-only, or doesn't show up in any directory
Commands are helpful because they allow you to interface directly with the computer. This is important for troubleshooting, since sometimes the computer problem prevents you from utilizing the common methods of accessing the problem area. Additionally, the command prompt gives easy access to many helpful tools in one place, and allows for more direct interfacing with the computer itself to gain information and solve the problems.
Commands can also be used in scripts, a group of commands that autonomously performs a task
Powershell is a tool that automates commands and functions using scripts and snippets. Any command that can be done in a window can be done with Powershell, along with several new ones
Powershell can easily be used to affect a large number of computers, making it popular amongst technicians that need to affect many different computers for similar tasks.