You are on page 1of 4

Student Name

Justen Nelsen

Class

Comp 230

Date

5-8-16

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
Ethernet NIC:
IP Address:

169.254.102.115

Subnet Mask:

255.255.0.0

Default Gateway:

NONE

MAC (Physical) Address

00-50-56-A3-20-46

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
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Administrator\Desktop>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : vlab-PC1
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter NIC:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection #
2
Physical Address. . . . . . . . . : 00-50-56-A3-20-46
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::c0ec:3caa:da60:6673%15(Preferred)
Autoconfiguration IPv4 Address. . : 169.254.102.115(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 402673750
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-14-EE-13-98-00-0C-29-DB-1B-7E

COMP230_Wk1_Lab_Report.docx

Revision Date: 1213

DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1


fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled

Task 2: Changing Interface Configuration settings from the CLI


Complete the following Windows CLI tasks using only netsh interface commands.
Copy and paste your CLI commands and command output into the Task 2 box provided below.
Task 2 CLI netsh Commands Output
C:\Users\Administrator\Desktop>netsh interface ip show config "NIC"
Configuration for interface "NIC"
DHCP enabled:
Yes
IP Address:
169.254.102.115
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
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Administrator\Desktop>netsh interface ip set address "NIC" source=stati
c 200.100.10.10 255.255.255.0 200.100.10.1 1
C:\Users\Administrator\Desktop>netsh interface ip show config "NIC"
Configuration for interface "NIC"
DHCP enabled:
No
IP Address:
200.100.10.10
Subnet Prefix:
200.100.10.0/24 (mask 255.255.255.0)
Default Gateway:
200.100.10.1
Gateway Metric:
1
InterfaceMetric:
10
Statically Configured DNS Servers: None
Register with which suffix:
Primary only
Statically Configured WINS Servers: None
C:\Users\Administrator\Desktop>

C:\Users\Administrator\Desktop>netsh interface ip set address "NIC" source=dhcp


C:\Users\Administrator\Desktop>netsh interface ip show confif "NIC"
The following command was not found: interface ip show confif NIC.
C:\Users\Administrator\Desktop>netsh interface ip show config "NIC"

COMP230_Wk1_Lab_Report.docx

Revision Date: 1213

Configuration for interface "NIC"


DHCP enabled:
Yes
IP Address:
169.254.102.115
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:\Users\Administrator\Desktop>shutdown /s /m \\vlab-PC1 /t 90 /c "Shutdown in 9
0 secs, Save your Work NOW!!!"
C:\Users\Administrator\Desktop>

C:\Users\Administrator\Desktop>shutdown /r /f /m \\vlab-PC1 /t 60 /c "Restart Wi


ll Occur in 1 Minute**"
C:\Users\Administrator\Desktop>shutdown /a /m vlab-PC1
C:\Users\Administrator\Desktop>

C:\Users\Administrator\Desktop>shutdown /s /f /m \\vlab-PC2 /t 180 /c "Remote sh


utdown in 2 minutes"
C:\Users\Administrator\Desktop>shutdown /a /m vlab-PC2
C:\Users\Administrator\Desktop>

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)
COMP230_Wk1_Lab_Report.docx

Revision Date: 1213

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

Task 4 Script RUN

COMP230_Wk1_Lab_Report.docx

Revision Date: 1213

You might also like