Week 2 Lab

Submitted by: Submitted by

Views: 14

Words: 1704

Pages: 7

Category: Other Topics

Date Submitted: 04/19/2015 10:52 PM

Report This Essay

VBScript Network Shares Lab

Objectives

In this lab, students will complete the following objectives.

* Create a VBScript Program using NotePad++.

* Use WScript.Shell object and its methods.

* Use Scripting.FileSystemObject and its methods.

* Use LanmanServer.FileService objects and its methods.

* Use WScript.Network object and its methods.

Lab Diagram

During your session you will have access to the following lab configuration.

Connecting to your lab

For this lab, we will need to connect to Vlab-PC1 and Vlab-PC2.

* Vlab-PC1

* Vlab-PC2

To start simply click on the named Workstation from the device list (located on the left-hand side of the screen) and click the Power on in the tools bar. In some cases the devices may power on automatically.

During the boot up process an activity indicator will be displayed in the name tab.

* Black—Powered Off

* Orange—Working on your request

* Green—Ready to access

If the remote console is not displayed automatically in the main window (or popup) click the Connect icon located in the tools bar to start your session.

If the remote console does not appear please try the following option.

* Switch between the HTML 5 and Java client versions in the tools bar.

In the event this does not resolve your connectivity problems, please visit our Help/Support pages for additional resolution options.

Task 1: Create NetShareServer.vbs Program on Vlab-PC1

Note: Note: All captures must be text only—DO NOT capture the NotePad++ application window or the command prompt window. Use copy and paste of text only.

1) On Vlab-PC1, open NotePad++ and from the File menu, select New.

2) Create a Programmer Header that includes the name of your VBScript file, your name, the date, the class, and the name of your professor. Each of these VBScript comment lines begin with a (‘) character.

From the File menu, select Save. Save your program as NetShareServer.vbs in the C:\comp230 folder. Make...