Lab Objective:
Learn how to use some Microsoft CLI commands.
Lab Purpose:
You will revert to the command-line tools for troubleshooting, so you need to know the most common ones.
Lab Tool:
Windows 10
Lab Topology:
Use a single PC. Note that if you use a virtual machine, you may not always be able to see some of the same options.
Lab Walkthrough:
Task 1:
Use the search bar and search for ‘cmd’. You should see ‘Command Prompt’ as an option that you can select. This will take you to the Microsoft Command-Line Tool.
Task 2:
Right-click the title bar and press ‘Properties’.
You will then be able to adjust the font size and other settings so that the CLI tool matches your requirements.
Task 3:
Type dir and press the Enter key. The command lists all files and subdirectories contained in a specific directory. One of mine is named ‘Downloads’. To navigate to that directory, use the command cd Downloads.
You can see the output has changed to ‘C:\Users\paulw\Downloads>’.
Can you append/? to a command to see all available options.
Issue the dir command again to see the contents of your downloads folder.
You can use the GUI to confirm by checking your downloads folder.
Task 4:
Right-click on your desktop, click ‘New’ and then ‘Folder’, and create a folder called ‘Fun’.
Right-click and create a new text document called ‘101labs’.
Task 5:
Navigate back to the command line window on your desktop. Type ‘cd’ and press the space bar. Then drag the new folder you created into the command line window.
You should see the path to the new folder appear in the command line as above.
When you press the Enter key, you will move to your directory. You can then type dir to check that your file is in the folder.
Task 6:
We will move the 101labs.txt file from the current folder to the desktop using the move command.
Type move 101labs.txt C:\Users\paulw\Desktop and press the enter key. Note that you will need to replace paulw with your owner’s name. You should see that the file has moved to your desktop.
Notes:
Please try out some of the other switches available with the command.











