Preview

Vbscript Network Shares Lab

Satisfactory Essays
Open Document
Open Document
1575 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Vbscript Network Shares Lab
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.

Element K Network Connections

For this lab, we will need to connect to vlab-PC1 and vlab-PC2. The computer vlab-PC1 is the computer on the left side while vlab-PC2 is on the right. If you leave the cursor on the PC icon for a few seconds, a tool-tip message will appear indicating the hostname of the PC. Open vlab-PC1 and login as Administrator with the password password. Return to the network and open vlab-PC2 and login as Administrator with the password password.

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.

Task 1: NetShareServer.vbs Program on vlab-PC1

* On vlab-PC1, open NotePad++ and from the File menu, select New.

* 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:\Scripts folder as shown below.

* Define the Scripting.FileSystemObject fso that provides control of local folders and files. The “WinNT://hostname/LanmanServer,FileService object fileServ allows us to create and manage network shares similar to the NET SHARE commands we discussed last week.

Note: When you create the fileServ object, the hostname value vlab-PC1 must match the hostname of the computer acting as the server. If you don’t know your Windows hostname, open a Windows CLI and execute the hostname command.

Task 2: Create a Folder and Copy Files to

You May Also Find These Documents Helpful

  • Good Essays

    Click on the fly lab button. After reading through the lab and understanding what you will be doing, click on start lab.…

    • 862 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Nt1330 Unit 6 Lab Report

    • 1088 Words
    • 5 Pages

    1. Following the instructions on p. 189 create a home group and then join the other computers to it.…

    • 1088 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    In the space provided below to copy and paste the remainder of your IP_FileWrite.vbs sourcecode if it did not fit in the first textbox.…

    • 1328 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    english 102 flylab

    • 1335 Words
    • 6 Pages

    Exploration: Answer the questions. The questions in the Exploration section are the same questions in your FlyLab instructions.…

    • 1335 Words
    • 6 Pages
    Satisfactory Essays
  • Powerful Essays

    NETW202 W1 Lab Report

    • 927 Words
    • 5 Pages

    Question 3: Click the “__Access_______ __Lab____” link on ‘Lab Content’ tab to launch the vLab. (2 points)…

    • 927 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    The lab environment consists of computers connected to a local area network. The computers required for this lab are listed in Table 1-1.…

    • 1996 Words
    • 8 Pages
    Satisfactory Essays
  • Good Essays

    Comp230 Week 1 Lab Report

    • 941 Words
    • 4 Pages

    Host Name . . . . . . . . . . . . : vlab-PC1…

    • 941 Words
    • 4 Pages
    Good Essays
  • Good Essays

    basdasd

    • 683 Words
    • 3 Pages

    Click the “Information” bar at the bottom of the lab simulation and read all the background information.…

    • 683 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Comp230 Week 5

    • 1799 Words
    • 8 Pages

    Student Name | Class | COMP230 | Date | | VBScript Modular Lab Report ' Menu Driven Computer / Network Tests ' This VBScript program is run using the PC_Tests.cmd Batch Script Set args = WScript. Arguments WScript. Echo vbCrLf Select Case args. Item(0) Case "1" Call System_Information Case"2" Call System_Memory_Size Case "3" Call OS_Version Case "4" Call Printers_Status Case "5" Call Logical_HDD_Information End Select…

    • 1799 Words
    • 8 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Comp230 wk4 Ilab

    • 822 Words
    • 4 Pages

    Note: Note: All captures must be text only—DO NOT capture the NotePad++ application window or the…

    • 822 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Assesment1

    • 714 Words
    • 3 Pages

    Click and drag to select the assignment questions below. Then press CTRL + C to copy, or right-click the text and then click Copy.…

    • 714 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Week 3 Ilab

    • 367 Words
    • 2 Pages

    In the space provided below, copy and paste your NetShareServer.vbs Program Code: cscript NetShareServer.vbs Process started >>> Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. All rights reserved. Current Network Shares Users New Network Shares PublicData Users \\vlab-PC1\PublicData Share will be Available for 60 Seconds!!…

    • 367 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    1. Name at least five applications and tools pre-loaded on the TargetWindows01 server desktop, and identify whether that application starts as a service on the system or must be run manually.…

    • 1091 Words
    • 5 Pages
    Good Essays
  • Better Essays

    References: for Software Development using Microsoft Office Products 3) Solomon, Christine, "Microsoft Office 97 Developer 's Handbook", Microsoft Press, Redmond,Washington,1997 4) Microsoft Corp.,"Microsoft Office 97 Visual Basic Programmer 's Guide"; Microsoft Press, Redmond,Washington, 1997 5) O 'Brien,T.M. & Pogge,S.J. & White,G.E.,"Microsoft Access 97 Developers Handbook", Microsoft Press, Redmond,Washington, 1997 6) Smith,Robert & Sussman,David,"Beginning Access 97 VBA Programming",Wrox Press Ltd.,Birmingham,UK,1997 7) "Visual Basic Programmer 's Guide, Version 5.0",Document No. DD93011-1296, Microsoft Corp., Redmond,Washington, 1997 8) Craig,J.C. & Webb,J.,"Miscosoft Visual Basic 5.0 Developer 's Workshop", Fourth Edition, Microsoft Press, Redmond,Washington,1997 9) Mann, Anthony,"Visual Basic 5.0 Developer 's Guide",Sams Publishing,Indianapolis,1997 10) Haught,D. & Ferguson,J.,"Microsoft Jet Database Engine Programmer 's Guide",Second Edition,Microsoft Press,Redmond,Washington,1997 Nuclear & Engineering Standards Summary (Partial List) 11) ANSI/IEEE-ANS-7-4.3.2, Application Criteria for Programmable Digital Computer Systems in Safety Systems of Nuclear Power Plants 12) ANSI/ANS-10.2,Recommended Programming Practices to Facilitate the Portability of Scientific and Engineering Computer Programs 13) ANSI/ANS-10.3,Guidleines for the Documentation of Digital Computer Programs 14) ANSI/ANS-10.4,Guidelines for the Verification & Validation of Scientific and Engineering Programs for the Nuclear Industry 15) ANSI/ANS-10.5,Guidelines for Considering User Needs in Computer Program Development 16) ANSI/ASME NQA-1,Quality Assurance Program Requirements for Nuclear Facilities 17) ANSI/ASME NQA-2 Part2.7,Quality Assurance Requirements of Computer Software for Nuclear Facility Applications 18) IEEE STD 1033,IEE Recommended Practice for Application of IEEE STD 828 to Nuclear Power Generating Stations 19) NUREG/CR-4640,Handbook of Software Quality Assurance Techniques Applicable to the Nuclear Industry 20) Regulatory Guide 1.152,Criteria for Programmable Digital Computer System Software in Safety-Related Systems of Nuclear Power Plants. 21) ANSI/IEEE Std 729,Glossary of Software Engineering Terminology 22) ANSI/IEEE Std 730, Software Quality Assurance Plans 23) ANSI/IEEE Std 828,Software Configuration Management 24) ANSI/IEEE Std 829,Software Test Documentation 25) ANSI/IEEE Std 830,Software Requirements Specifications 26) ANSI/IEEE Std 1008,Software Unit Testing 27) ANSI/IEEE Std 1012,Software Verification And Validation Plans 28) ANSI/IEEE Std 1016,Software Design Description…

    • 3465 Words
    • 14 Pages
    Better Essays
  • Good Essays

    using the Data Acquisition Toll box provided by MATLAB. Data Acquisition tool box needs to be installed…

    • 865 Words
    • 4 Pages
    Good Essays