Student Name | | Class | | Date | |
Windows CLI Commands Lab Report
NOTE: Please use Carriage Returns and Page Breaks as needed to prevent box contents from extending across page boundaries.
Task 1: Rename the Ethernet Interface and Display IP Configuration Settings
Open the Windows Command Prompt using the desktop or the Taskbar icon. Maximize the size of the CLI. Use the ipconfig /all command to determine the following IP configuration settings for “Wired”
IP Address: | 169.254.247.110 |
Subnet Mask: | 255.255.0.0 |
Default Gateway: | 192.168.0.250 |
MAC (Physical) Address | 00-50-56-A3-71-89 |
Copy and paste the specified ipconfig /all command output from the Windows CLI into the Task 1 box provided below.
Task 1 ipconfig /all Command Output
Physical Address. . . . . . . . . : 00-50-56-A3-71-89 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : ...view middle of the document...
Task 2 CLI netsh Commands Output
Configuration for interface "NIC" DHCP enabled: Yes IP Address: 169.254.247.110 Subnet Prefix: 169.254.0.0/16 (mask 255.255.0.0) InterfaceMetric: 10 DNS servers configured through DHCP: None Register with which suffix: Primary only WINS servers configured through DHCP: None |
Task 3: Windows CLI Shutdown Commands
Complete the following Windows CLI shutdown tasks. Copy and paste your CLI commands and command output into the Task 3 box provided below.
Task 3 CLI Shutdown Commands Output
Microsoft Windows [Version 6.1.7600]Copyright (c) 2009 Microsoft Corporation. All rights reserved.C:\Windows\system32>shutdonw /s /m \Vlab-PC1 /t 90 /c "shutdown in 90 secs, Save your Work NOW!!"'shutdonw' is not recognized as an internal or external command,operable program or batch file.C:\Windows\system32>shutdown /s /m \Vlab-PC1 /t 90 /c "shutdown in 90 secs, Save your Work NOW!!"C:\Windows\system32>shutdown /aUnable to abort the system shutdown because no shutdown was in progress.(1116)C:\Windows\system32>shutdown /a /m \Vlab-PC1C:\Windows\system32>shutdown /f /m \Vlad-PC1 /t 60 /c "Restar will occur in 1 minute"Usage: shutdown [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f] [/m \computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]] |
Task 4: Executing Windows CLI Commands in a Batch File
Copy and paste your script file content (from NotePad or the Windows CLI using the type command) into the Task 4 box labeled “Task 4 Script”. Also copy and paste the successful RUN of the script from the Windows CLI into the “Task 4 Script RUN” box.
Task 4 Script
rem or ::@echo offecho.echo name student ID 1/7/2016 @echo offclsrem "Disabling echo..."echo. echo name echo IDecho rem //12:48echo.echo.netsh interface ip show config Wi-Fitimeout /t 6 > nul rem (where ## is time in seconds)shutdown /a |
Task 4 Script RUN
NameIDrem //12:48The filename, directory name, or volume label syntax is incorrect.Unable to abort the system shutdown because no shutdown was in progress.(1116)C:\Windows\system32> |