You are on page 1of 27

LAB A 50 PTS

COMMAND PROMPT &


INSTALLING WIN 7
Several screenshots are required for grading. No points will be given without screenshots so READ
the entire Lab prior to completing! You might want to put post-it notes in your lab manual over
each step where you need to create a screenshot or there are additional steps so that you do not miss it.
I recommend that you use the Snipping Tool that comes with Windows 7 to create the screenshots.
Click on Start, Snipping Tool, click and drag a square on the screen around the area you want to take a
screenshot of. (Screenshots are sometimes called printscreens too.) Click on the Copy button. Go into
your answer document in Word and paste in the screenshot. To get the next screenshot, click on New.
If you have any issues inserting screenshots such as only a small portion of the capture appears, follow
the instructions below to clear the document formatting:
Select the visible portion of the screen shot that you want to clear the formatting from.
On the Home tab, in the Font group, do one of the following:

In Word 2007, click Clear Formatting

Be sure to read all of the submission requirements in each Activity before completing the activity.
Note: It is highly recommended that you upgrade your home computer to the version of VMware
Workstation that is installed in the computer lab for compatibility reasons. See current product key
and download information in Blackboard in the announcements.

The steps in this exercise are NOT in the textbook or in the Lab manual.

Exercise A
Overview

Navigating in the Command Prompt (8 pts)

In this exercise, you will learn some of the basics of navigating in a command
prompt. You will learn to create, delete and modify directories and view
information about files and directories.
The command prompt can be a powerful way of managing and using the file
structure in a computer. You can use directory commands to manage and see the
same information that you do with the Windows Explorer.
Complete this activity on the HOST in the classroom. (It can also be completed on a windows
computer at home)

Completion time
50 minutes
The steps in this lab are NOT in the textbook or in the Lab manual.

Vocabulary
File
Folder
Directory
Subdirectory

Block of information stored on a computer. It must have a unique name within a


folder.
A collection of related files used to help organize the file system
Same as folder
A folder (directory) inside of another folder (directory)

Click on Start, in the search box, type in cmd and press <Enter>. A window will open like the
printscreen below.

Take a look at what you see on the screen currently. On the lab computer, the default directory is
C:\Users\student (your computer may have a different default directory.)

cd

The cd command allows you to change directories.


When you are using the command prompt everything must be spelled correctly or a command will
not work. Spaces are important too. If you have extra spaces or are missing spaces, you may not
get the results that you are looking for.
Type cd\windows\system32 and press <Enter>. This will change your current directory to the
c:\windows\system32 directory.
You can traverse to a folder inside of the current directory by typing cd <space> folder. This will
change to a subdirectory immediately inside of the current directory. Try this by typing cd speech
and press <Enter>. Notice how the current directory displayed is now the
c:\windows\system32\speech directory.
Now type in cd\ and press <Enter>

This changes you to the root directory. The root directory is very important for you to be familiar
with. The root is considered to be the beginning of the drive.
You can change to a directory 1 folder at a time OR you can change to directories with 1 command.
Type in cd windows and press <Enter>
Type in cd system32 and press <Enter>
Type in cd speech and press <Enter>
Steps when you start at the root of the drive, steps a-c above are the same as d below.
To make the directory change with 1 command, type in
cd\windows\system32\speech and press <Enter>

Try both of the above directory changes.


After changing to the c:\windows\system32\speech directory, to move back 1 folder, type in cd ..
and press <Enter> (see the picture below)

dir

Now we will look at the files within a directory.


Type in cd\users\student and press <Enter>. Then type in dir and press <Enter> (My results
are below, your results may be different than mine. Also, this assumes that you are on the
computers on campus. If you are in another location, type cd\users then type dir to see the
usernames listed and then type cd yourusername.)

This is showing us the files and folders that are in the current directory of C:\Users\student
You can see the same files and folder information with the Windows Explorer. Click on Start, then
Computer,
Double click on the C drive, Double click on the Users folder, then double click on student

You can see the same folders in the command prompt that you can see in the Windows Explorer.

(NOTE: the AppData folder. The HOST computer is configured to see


hidden files, so they are displayed in the Windows explorer.)

help screens for command line utilities

The dir command can do more than just display a list of files and folders. There are switches that
you can use with the command to see the information in a different way. To get help for most
command line utilities, type in the command, then /? after the command. In the command prompt,
type in dir /? and press <Enter>, then read the help screen.
Ex A
List 3 ways you can sort a directory listing? By name, by extension, or by size.
Question
1
Change to the c:\windows\system32 directory and then compare the next 2 directory listings.
(NOTE: you will have to use the information from the directions above to figure out how to change to
this directory, this is not listed as an exact command)
Type dir /o:d and press <Enter>
Type dir /o:-d and press <Enter>
Ex A
Explain how the 2 directory listings are different? d shows the earliest files on the bottom
Question
of CMD, and d shows the newest files on the bottom of the CMD.
2
Ex A
What are the results when you do a directory listing with the /p switch? Places files in
Question
alphabetical order.
3
Ex A
What are the results when you do a directory listing with the /s switch? Shows each file
Question
within its own directories.
4

Repeat commands

The computer remembers several of the previous commands. To see the previous command, you
can press the <up arrow>. Each time you press the <up arrow>, you can see the previous
command. To change the command, you can then press the <left arrow> and insert or delete text
from the command.
Try pressing the <up arrow> now. You should see the dir /o:-d command.

Redirect output to a file

Sometimes it is helpful to get a directory listing into a document. You can take the output that is
displayed on the screen and redirect it into a file on your computer. Then you could copy and paste
that information to a document.
Start in the c:\users\student directory. (NOTE: if you are on a different computer, you need to
change this to the directory for the user that you are currently logged in as. If you are unsure,
change to the users folder first, then do a directory listing, then change to the directory that
corresponds with the name you are logged in as.)
Type dir and press <Enter> to view the contents of this folder on the computer screen.
To redirect the output from the computer screen to, use the greater than symbol. Type
dir > list.txt and press <Enter>. This will create a file called list.txt. The file will be
located in the current directory which is c:\Users\student. (See the printscreen below for help)

Now run a directory listing again. You should see a new file, list.txt, in your directory listing.
To view the file, type in notepad list.txt and press <Enter>
The notepad program should open up a text document that contains the results of the list.txt
document.
Take a screen shot of the notepad program with the list.txt file open, and then paste it below by
pressing Ctrl+V.

Close out of the notepad program.


You can redirect any output from other commands in the command prompt by using the redirect.

Copy or paste text inside of a command prompt

Sometimes you want to copy and paste text, such as a filename from inside of a command prompt .
On the far left of the command prompt windows title bar, click the Command Prompt icon. (See
the red circle in the picture below)

From the menu, click on Edit and then Mark. A blinking cursor then appears at the top of the
command prompt window.
Click and drag the cursor over the text you would like to copy to the clipboard; the information will
be highlighted. For this lab, I would like you to highlight the line that contains the list.txt file that
you created in the redirect portion of this lab. See the printscreen below. (If you cant see it at this
time, from the c:\users\student folder run a directory listing again. )

After you have highlighted all the information you want to copy, press <Enter> This will place the
highlighted text into the clipboard.
Ex A
Question
Paste the text you copied above in this box? C:\Users\student>dir > list.txt
7

Creating, deleting and copying directories and files

From the command prompt, type cd\ and press <Enter>. This should change us to the root of the
drive.
To make a new directory called new, type md new and press <Enter> (NOTE: this will create the
new directory in the current directory which is the root of the drive)
Create these other directories using the md command.
c:\new\software
c:\new\stuff
c:\new\class
c:\new\class\assignments
c:\new\class\letters
Change to the c:\new directory
Use the cd command to change directories and see what you have created.
If you make a mistake, you can delete a directory by using the rd command.
For example, to delete the c:\new\class\letters directory, you can type
rd c:\new\class\letters and press <Enter> (NOTE: this will keep the folder, c:\new\class
and remove only the letters folder. The folder must be empty in order to delete it.)
If you deleted the c:\new\class\letters folder, please create the folder again now.
Change to the c:\new\class\assignments directory
Type notepad lab.txt and press <Enter>. Click Yes to create a new file. Type in any text in the
file then close and save the notepad program.
Type copy lab.txt c:\new\stuff and press <Enter> (this should keep the lab.txt file in the
c:\new\class\assignments AND put another copy of the same file in c:\new\stuff)
Change to the c:\new folder, then type dir /s > new.txt and press <Enter>
Type notepad new.txt and press <Enter>
Copy the entire contents of the new.txt file from notepad and paste it into this document here:
Volume in drive C has no label.
Volume Serial Number is A477-47F8
Directory of C:\new
09/11/2014
09/11/2014
09/11/2014
09/11/2014
09/11/2014
09/11/2014

01:34 PM
01:34 PM
01:26 PM
01:34 PM
01:34 PM
01:24 PM

<DIR>
.
<DIR>
..
<DIR>
class
1,585 new.text
0 new.txt
<DIR>
software

09/11/2014 01:33 PM <DIR>


2 File(s)
1,585 bytes

stuff

Directory of C:\new\class
09/11/2014 01:26 PM
09/11/2014 01:26 PM
09/11/2014 01:31 PM
09/11/2014 01:26 PM
0 File(s)

<DIR>
<DIR>
<DIR>
<DIR>
0 bytes

.
..
assignments
letters

Directory of C:\new\class\assignments
09/11/2014 01:31 PM <DIR>
.
09/11/2014 01:31 PM <DIR>
..
09/11/2014 01:30 PM
20 lab.txt
1 File(s)
20 bytes
Directory of C:\new\class\letters
09/11/2014 01:26 PM <DIR>
09/11/2014 01:26 PM <DIR>
0 File(s)
0 bytes

.
..

Directory of C:\new\software
09/11/2014 01:24 PM <DIR>
09/11/2014 01:24 PM <DIR>
0 File(s)
0 bytes

.
..

Directory of C:\new\stuff
09/11/2014 01:33 PM <DIR>
.
09/11/2014 01:33 PM <DIR>
..
09/11/2014 01:30 PM
20 lab.txt
1 File(s)
20 bytes
Total Files Listed:
4 File(s)
1,625 bytes
17 Dir(s) 369,146,089,472 bytes free
Close out of the notepad program.

USE YOUR LAB


MANUAL ALONG WITH
THESE DIRECTIONS TO
COMPLETE THE
REMAINING LABS.
LAB CH 1 5 PTS
Follow the steps for each exercise in your Windows 7 Configuration Lab Manual. The steps listed
below are the changes from the steps in the printed lab manual. You must complete ALL Exercises, Lab
Review questions, and Lab Challenge Exercises that are listed in this lab worksheet.

Exercise 1.1 Running Upgrade Advisor


Complete this activity on the HOST machine in the classroom. The Upgrade Advisor is should be
installed already.
Completion time
20 minutes

Complete this lab on the HOST pc in class (Not your VM)


Skip steps 1-7 in the book
Ex 1.1
Question
1
Ex 1.1
Question
2

According to Upgrade Advisor, is your workstation capable of running Windows 7? Yes it is.

Is your workstation capable of running Windows Aero? If not, why not? Yes it is.

Ex 1.1
Are there any devices in the computer for which Upgrade Advisor could not find
Question
information? Yes. If so, which ones? HyperTerminal Private Edition v6.3
3
Ex 1.1
Are there any applications (programs) on the computer that might cause compatibility
Question
issues with Windows 7? Yes.
4
12.
Take a screen shot of the page that shows the report when you run Windows 7 Upgrade
Advisor, and then paste it below by pressing Ctrl+V.

Skip Exercise 1.2

LAB CH 3 2 PTS
INSTALLING
WINDOWS 7

Configure VMware Network Adapters DO NOT SKIP


Before starting Ex 3.2 in the Lab manual, we need to set up network
adapters in VMware so that they will connect to the RWDC01 server. At this
time, it will disable internet connectivity for our VM.

Open VMware(but do not start up your VM). Select your NYC-CLa VM. Click on VM, Settings,
highlight the current Network Adapter
On the right side of the page, select Custom VMNet2 (This network adapter will allow your
VM to connect to the RWDC01 server.)
When it boots up, the network adapter will take a few minutes to configure. Click on Work.
Repeat this on the NYC-CLb VM. Set this VM to VMNet2 also.

Exercise 3.2 Joining a Workstation to a Domain


BEFORE starting this lab, turn on the RWDC01_WinServer2008 VM that you downloaded from
the Z drive. Complete this on the VM you created NYC-CLa, then repeat the steps on the VM
your instructor provided NYC-CLb. Also complete the steps above this exercise in this document.
(NOTE: you do not complete the steps on the RWDC01_WinServer2008 The server is just to
simulate a business environment. You will only complete steps on the server when the
assignment specifically tells you to.)
Completion time
5 minutes

NOTE: Turn on your Win 2008 server RWDC01 before starting this lab.
1.
6.

7.

After turning on your Win 2008 server, start up the VM of Win 7 (NYC-CLa) that you just
installed. Complete the steps listed in the lab manual on NYC-CLa.
After following step 6 in the lab manual, if you do not get a message box welcoming you to
the contoso domain, please see your instructor. They will help you troubleshoot the domain
issues. (Some things to try before contacting your instructor. Make sure you have
completed the steps before Ex 3.2 to change the Virtual Machine settings for the Network
adapter to Custom, VMNet2. AND/OR Try typing contoso.com instead of contoso for the
domain.)
Take a screen shot of the message box by pressing Alt+Prt Scr and paste it into your below
by pressing Ctrl+V.

Repeat this on the NYC-CLb VM. Join to contoso domain also. Make sure
that the computer name of NYC-CLb stays NYC-CLB or you will have problems
with future labs.
Make snapshot of VM
Shutdown your VM. (Click on VM, Power, Shutdown Guest) *NOTE: Power off is the same as unplugging
the computer from the wall
Click on VM, Snapshot and Take Snapshot
Type in the name: After Ex 3.2 Join Domain Complete with a description of LabA activities up through
Ex 3.2 complete & click on OK.

LAB CH 7 14 PTS
CONFIGURING NETWORK
CONNECTIONS
Exercise 7.1 Using the Network and Sharing Center
Complete this on the VM you created NYC-CLa. BEFORE starting this lab, turn on the
RWDC01_WinServer2008 VM that you downloaded from the Z drive. NOTE: you do not

complete the steps on the RWDC01_WinServer2008 The server is just to simulate a business
environment. You will only complete steps on the server when the assignment specifically tells
you to.
Completion time
10 minutes

NOTE: Turn on your Win 2008 server, RWDC01 before starting this lab.
1. Prior to completing step 1, you will need to login as
contoso\Administrator. To do this, click on Switch User, click on
Other User, then type in the username contoso\Administrator. Type
in the password of Pa$$w0rd.
Ex 7.1
Why did the network map fail to appear?
Question
Because network mapping is disabled by default on domain networks.
1
7. Complete step 7 as listed in the lab manual. NOTE: if your advanced sharing and
discovery settings do not match table 7-3, change them so that they match.
Could the current state of the advanced sharing settings be the reason why the
Ex 7.1
Question network map fails to appear?
2

Not likely. If Network Discovery and File and Printer Sharing were turned off, this might
contribute to the problem, but they are currently turned on

Exercise 7.2 Enabling Network Map


Complete this on the VM you created NYC-CLa, NYC-CLb. You will need the server VM
(RWDC01_WinServer2008) running too. NOTE: you do not complete the steps on the
RWDC01_WinServer2008 The server is just to simulate a business environment. You will only
complete steps on the server when the assignment specifically tells you to.
Completion time
10 minutes
6. In the left column, you may need to first open the Console Root, then open the Local
Computer Policy. Open the remaining items listed in step 6 in the lab manual. NOTE: To
open, browse in the left pane and click on the triangle.
11. Complete step as listed in the book. NOTE: when you do close out of the MMC
(Microsoft Management Console) it will ask you to save, take the default options to save
it.
12. Take a screen shot of the Network Map window by pressing Alt+Prt Scr, and then paste
the resulting image below by pressing Ctrl+V. Take this printscreen after repeating this
exercise for both NYC-CLa and NYC-CLb.

Ex 7.2
Question
3

Why does the RWDC01 computer not appear on the Network Map display?
Because you have not configured the Turn on Mapper I/O (LLTDIO) driver policy on that
computer.

Exercise 7.3 Manually Configuring TCP/IP


Complete this on the VM you created NYC-CLa, NYC-CLb. You will need the server VM
(RWDC01_WinServer2008) running too.
Completion time
15 minutes
3. Using the information in the Ipconfig.exe display, note your workstations current
TCP/IP configuration settings in Table 7-4.
Table 7-4
TCP/IP Setting
IPv4 Address
Subnet Mask
Default Gateway
DNS Servers

Ex 7.3
Question
4
Ex 7.3
Question
5
Ex 7.3
Question
6

Value NYC-CLa
169.254.175.239
255.255.0.0
---

Value NYC-CLb
169.254.175.239
255.255.0.0
---

How did the computer obtain these settings? How can you determine this?
Type ipconfig in CMD on each computer.
What is the result of this command?
You get information on the IPv4, IPv6, Subnet mask, Gateways, and DNS.
Which of the parameters in the Internet Protocol Version 4 (TCP/IPv4) Properties sheet
would you have to omit for your computer to be unable to resolve a computer name into
its IP address?
You would have to omit the Preferred DNS Server parameter.

12. Take a screen shot of the Internet Protocol Version 4 (TCP/IPv4) Properties

pressing Ctrl+V.

Ex 7.3
Question
7

How does the Ipconfig display differ from the first time you ran the ipconfig /all
command?
Except for the IP address, the TCP/IP settings are the same as they were in the first
instance, but the display now shows that DHCP is not enabled and does not specify a DHCP
server address.

Exercise 7.4 Testing Network Connections


Complete this on the VM you created NYC-CLa, NYC-CLb. You will need the server VM
(RWDC01_WinServer2008) running too.
Completion time
10 minutes
Ex 7.4
Question
8
Ex 7.4
Question
9

What is the result?


The computer successfully pings the specified address.
What does this result prove about the computers network connectivity?
it proves nothing. Pinging the loopback address (127.0.0.1) proves only that the
computers TCP/IP client is configured correctly.

Ex 7.4
Question
10
Ex 7.4
Question
11
Ex 7.4
Question
12
Ex 7.4
Question
13
Ex 7.4
Question
14
Ex 7.4
Question
15
Ex 7.4
Question
16

What would be the result if you unplugged your computers network cable before
executing the ping 127.0.0.1 command?
The ping test would still be successful because pinging the loopback address only tests the
validity of the computers TCP/IP configuration. No packets actually leave the computer
during the loopback test.
What is the result of the ping test, and what does it prove?
--What is the IP address of RWDC01?
169.254.34.155
How was the computer able to resolve the name RWDC01 into its IP address?
The computer sent a name resolution request to the DNS server it is configured to use.
What was the result of the test, and what does this result prove?
The computer successfully pings the specified computer. The results prove that both
computers are connected to the network and can communicate with each other. If this
doesnt work, try turning off the firewall to see if it works.
What was the result of the test, and what does this result prove?
The computer successfully pings the specified computer. The results prove that both
computers are connected to the network and can communicate with each other. If this
doesnt work, try turning off the firewall to see if it works.
Was it necessary to perform this last test? Why or why not?
The textbook answer: No, a successful result indicates that both computers can
communicate already. No, one ping checks both networks. My answer: Yes, because you
may have a firewall issue that can keep one computer from displaying the response, so it is
a good idea to check.

ADDED STEPS return your network adapter configuration to obtain address


from DHCP on both NYC-CLa & NYC-CLb

Click on Start, Control Panel, Network and Internet, Network and Sharing Center, Change Adapter
Settings Right click on Local Area Connection and click on Properties, continue. Highlight Internet
Protocol v4 (TCP/IP v4) and click on Properties.
Select Obtain an IP address automatically and select Obtain DNS server address automatically and
then click on OK.
In your own words using 3-4 sentences, summarize what you did in the exercises
7.1-7.4. NOTE: I would like you to type up the summary using non-technical
Ex 7.4
Question words, so that a non-IT person, can understand what you did.
A

In exercises 7.1-7.4, you are basically setting up a domain server. The other computers
that you made are able to connect to that server, creating a link between them. Then you
ping the server to make sure that the computers are communicating to it properly.

Make snapshot of VM
Shutdown your VM. (Click on VM, Power, Shutdown Guest) *NOTE: Power off is the same as unplugging
the computer from the wall
Click on VM, Snapshot and Take Snapshot
Type in the name: After LabA, Ch7 Complete with a description of LabA activities up through Ch7
complete & click on OK.

MORE COMMAND
PROMPT AND BATCH
FILES - 21 PTS
Exercise B Networking Command Line Utilities
Overview

In this exercise, you will explore the use networking and other useful utilities to
expand your knowledge using the command prompt.
Complete this activity on the HOST machine in the classroom (Your VM does not have internet
connectivity at this time.
The steps in this exercise are NOT in the textbook or in the Lab manual.
Completion time
40 minutes
The steps in this lab are NOT in the textbook or in the Lab manual.

Run command prompt as administrator

Several of the utilities used for networking in the command prompt require administrative privileges
to use the utility. Click on Start, in the search box, type in cmd. When the command prompt is listed
under programs, then Right Click on the command prompt and click on Run as administrator.

ipconfig

You used the ipconfig command already this semester to display IP address information. The utility
gathers information from the network interface card(s) on your computer. It also gathers some
information from the host machine that your computer connects with.
At the command prompt, enter ipconfig and press <Enter>. The screen will show the return IP
address information. (NOTE: you may have to use the scroll bar on the right of the command
prompt window to scroll up and see some pertinent information.
To get more detailed IP address information, type in ipconfig /all and press <Enter>
You can see additional information about whether the address is obtained automatically (from
DHCP), the lease dates, Physical Address (MAC address) information and DNS servers.
Ex B
What computer are you using? My home computer. Is the address on your computer
Question
obtained from DHCP? Yes.
1
To get help for the ipconfig command, type in ipconfig /? and press <Enter>. Review the help
screens.
NOTE: The next few steps will only work on a network that is configured with DHCP. If you are at home
or somewhere else where the address is statically assigned, you will need to skip this section and come
back to campus to complete it.
To terminate an IP address, type in ipconfig /release and press <Enter>.

NOTE: If you get the message above. You need to open your command prompt with administrative
privileges. Follow the steps to Run command prompt as administrator, then repeat step 8.
You should see that all DHCP IP addresses are cleared out or blank.
To re-establish your IP address, type ipconfig /renew and press <Enter>. When you renew,
sometimes you get the same IP address and sometimes you get a different IP address.
Ex B
Question
What is your default gateway? 192.168.1.1
2

ping

The ping utility uses an ICMP (Internet Control Message Protocol) ECHO request/reply feature to see
if the device is reachable on the IP network. It sends packets across the network to a destination
device that you specify. It will measure the time that it takes for a request to and back from the
device. Administrators use it as a quick way to determine if the connection to the other piece of
equipment that they are trying to connect to is reachable.
Sometimes you can connect to a device, but you cannot ping the device. For this lab, if you get the
response Request timed out, just try another site. If you get it for all sites you try, then make sure
that you have an IP address assigned using the ipconfig command.
Type ping www.madisoncollege.edu and press <Enter>
There are 2 different ways that you can type in the device that you are trying to ping. Ping IPaddress
OR ping hostname. For the hostname, you can use some sites such as: www.google.com,
www.yahoo.com, www.madisoncollege.edu. To use the IP Address, type in the IP address that you
are trying to ping.
Use ping to measure the round-trip times to the default gateway of your computer and to 2 other
devices/sites.
Device/site to ping
Round Trip
Round Trip
Round Trip
Expect different results from students
Minimum Time
Maximum
Average Time
(ms)
Time(ms)
(ms)
0
1
0
1)default gateway
32
34
32
2) www.google.com
49
49
49
3) www.yahoo.com
Ex B Question 3
What is the default size packet for ping? 4
Type ping /? To get some help.
To change the size of the packet that you are testing, type in
ping l 200 www.madisoncollege.edu and press <Enter>. Test some other packet sizes
to the same destinations above, and then answer the question below. (NOTE: this is the lower case
letter l, not the number 1.)
Ex B
Question
When you have a larger packet size, is the ping average response slower or faster? Slower
4

tracert

Now you will run a tracert (traceroute) to see the route that the IP packets take from your computer
to a destination on the internet.
You can run a tracert on either an IPaddress OR hostname.
Type tracert www.madisoncollege.edu and press <Enter>
Use tracert to measure the number of hops for the 2 other devices/sites that you tested in the ping
section of this lab.
Device/site to tracert
Number of hops
11
1) www.google.com
14
2) www.yahoo.com
Ex B
Compare the average round trip times for ping and the number of hops for tracert for the
Question
3 devices that are not your gateway. Do you see a relationship between longer delay and
5
higher hop count? TypeAnswerHere

nslookup

Now you will run a nslookup command to get the IP Address(es) of a hostname.
Type nslookup www.madisoncollege.edu and press <Enter>. This will give you the IP
Address of the www.madisoncollege.edu host.
The first 2 lines are about the name server that is giving the response. The next 2 lines are about the
host machine that you are looking up.
Use nslookup to obtain the IP Addresses for the 2 other devices/sites that you tested in the ping
section of this lab.
Site/domain
IP Address (there may be more than 1 address listed)
198.105.244.114
1) www.google.com
2) www.yahoo.com

198.105.254.114
198.105.244.114
198.105.254.114

netsh

Now you will run a netsh command to assign an IP address from the command prompt.
So that we are sure to assign an IP address that will work for the computer you are using now, run a
netsh command to document before we start changing the configuration.
Type in netsh interface ipv4 show config and press <Enter>. Then document the
information listed below. (The printscreen below shows the results on the open lab computer used
in this example.)

Interface name
IP Address
Subnet Mask

Example for below to help understand


the commands below
Local Area Connection
172.19.103.4
172.19.103.0/24 (mask
255.255.255.0)
172.19.103.254

Your configuration
Local Area Connection
192.168.1.45
192.168.1.0/24 (mask
255.255.255.0)
192.168.1.1

Default
Gateway
DNS Server
172.18.0.13
192.168.1.1
The netsh command can be both a command line utility and an interactive command. Start the
interactive command mode by typing netsh and pressing <Enter>.
Type ? and press <Enter> to see the help information. (NOTE: Read the commands that are available
for netsh. Please note that we will only look at a few commands. You may use this command more
extensively in future classes.)
To enter the interface context where you can make changes to the IP Address type interface
and pressing <Enter>.

From the netsh interface> prompt, type ? and press <Enter> again. (NOTE: This will give you
additional commands that you can run in the interface context of the netsh command.)
This is the meaning of the command that you need to type to configure the ip address. The
italicized letters are variables, meaning that the value will change based off of the actual
information that you need to use ipv4 set address Interface Name From Table
Above static IpAddressFromTableAbove SubnetMaskFromTableAbove
DefaultGatewayFromTableAbove
An example using my IP Address info from the table above is: ipv4 set address Local
Area Connection static 172.19.103.4 255.255.255.0 172.19.103.254 and
press <Enter>.
Type in the ip set address using the values that you wrote down in the table above.
Take a screen shot of the netsh interface> context after typing the command to change the ip
address by pressing Alt+Prt Scr, and then paste it below by pressing Ctrl+V.
Make sure that you can see the statement to configure the ip address in your printscreen.

Click on Start, Control Panel, Network and Internet, Network and Sharing Center, Change adapter
settings, Right click on Local Area Connection and click on Properties, continue. Highlight Internet
Protocol v4 (TCP/IP v4) and click on Properties. You should see that the IP Address is now statically
assigned and contains the values that you configured above.
Take a screen shot of the Internet Protocol Version 4 (TCP/IPv4) Properties by pressing Alt+Prt Scr,
and then paste it below by pressing Ctrl+V.

Close out of the network connections and properties windows.


Open up another command prompt and run ipconfig /all to see the setting change. The most
noticeable change should be that DHCP is NOT enabled and there is not a lease for the IP Address.
To change the IP Address back to a DHCP assigned address, from the netsh interface> context type
ipv4 set address interface name from table above dhcp and press <Enter>
An example using my IP Address info from the table above is: ipv4 set address Local
Area Connection dhcp and press <Enter>.
To change the IP Address of the DNS server, make sure you are still in the netsh interface> context, ,
type ipv4 set dns Interface Name From Table Above dhcp and press <Enter>
Example using above settings: ipv4 set dns Local Area Connection dhcp and
press <Enter>.
When you are finished making changes using the netsh command, type exit and press <Enter>.

Exercise C Internet Searching


Overview

In this exercise, you will search for information on the internet and on Microsofts
website.
Complete this activity on the HOST machine in the classroom or any computer with access to the
internet.
The steps in this lab are NOT in the textbook or in the Lab manual.
Completion time
40 minutes

Search Engines
People use the internet to search for many things such as restaurant locations, trivia such as the most
likely color to be the favorite or even information about coursework or assignments for classes.
One of the most common search engines is google.
Ex C
Question
1

What are 2 other search engines? yahoo and bing

Search for the best pedometer. Try typing what is the best pedometer in the search engine. Now try
typing pedometer best in the same search engine.
Ex C
Question
2

Do your top 5 results show up in the same order with the 2 above searches? No.

Read the link below for some tips on searching on the internet.
https://support.google.com/websearch/answer/134479?hl=en
You can get advances searching features in google. The link below has some of the advanced features.
https://support.google.com/websearch/answer/136861

Searching Tech Websites


For information for our classes, sometimes our regular search engines bring up too much information.
Its helpful to go to a website for the hardware or software that youre using. For example, to find
answers about Cisco equipment, you might want to search on cisco.com. Since this class is a Microsoft
class, we will focus on searching for Microsoft questions.

microsoft.com
If youre searching for product information on Microsoft products such as Server versions or Office
products, I recommend searching on microsoft.com
Search for information about OneDrive (formerly skydrive)

Ex C
Question
3
Ex C
Question
4

What are 2 features of OneDrive? 1.Store and share your favorite photos, videos,
documents, files, and more on OneDrive. 2.Share files or entire folders, like photo albums,
without attaching anything.
What is the cost of OneDrive? Free - $3.99/month

Search for information about certification for Windows Client (Note: the certification for this course is
on the front of the textbook)
Ex C
Question
5
Ex C
Question
6

What is the title of the certification exam associated with the textbook for this class?
Microsoft Certified Technology Specialist Exam
What are 2 of the skills measured in the exam? your abilities as an IT, and expertise in
specialized technologies

technet.microsoft.com
If youre searching for support in Microsoft applications, tools or products, I recommend searching on
technet.microsoft.com
Search for information about PowerShell
Ex C
Question
7

What is PowerShell? "Windows PowerShell is a task-based command-line shell and


scripting language designed especially for system administration."

Search to find the following information about PowerShell.


Ex C
Question
8
Ex C
Question
9
Ex C
Question
10

How can you start up PowerShell? "To start Windows PowerShell on Windows Server
2012 R2, Windows 8.1, Windows Server 2012, and Windows 8, see Common
Management Tasks and Navigation."
What are cmdlets (in PowerShell)? "Cmdlets perform an action and typically return a
Microsoft .NET Framework object to the next command in the pipeline."
Copy and Paste a link to Management Cmdlets in PowerShell that you found from
searching? http://msdn.microsoft.com/en-us/library/ms714395(v=vs.85).aspx

Submit assignment to blackboard


When your assignment is complete, you must submit the LabA (this file) to Blackboard under
Assignments by the due date listed on your syllabus for full credit.

After you have submitted, from inside blackboard, click on Tools, My Grades
Submitted, but not graded
NOT submitted. This shows that either your computer locked up or you lost connection
to the internet OR you clicked on Save instead of Submit. Your instructor can clear this
indicator if you email them.

You might also like