Preview

Comp230 Week 6 Ip File Report

Satisfactory Essays
Open Document
Open Document
1328 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Comp230 Week 6 Ip File Report
VBScript IP File Report In the space provided below, copy and paste your IP_FileWrite.vbs program sourcecode. If it doesn’t fit, use the next page for the continuation of your program sourcecode.
' VBScript: IP_FileWrite.vbs
' Written by:
' Date:
' Class:
' Professor:
' ===================================
' This initializes a 2-dimension array
' of IP Address. The first index +100
' is the room# and the second index+1
' is the computer# in the room. dim ipAddress(5,3) ipAddress(0,0)="192.168.10.11" ipAddress(0,1)="192.168.10.12" ipAddress(0,2)="192.168.10.13" ipAddress(0,3)="192.168.10.14" ipAddress(1,0)="192.168.10.19" ipAddress(1,1)="192.168.10.20" ipAddress(1,2)="192.168.10.21" ipAddress(1,3)="192.168.10.22" ipAddress(2,0)="192.168.10.27" ipAddress(2,1)="192.168.10.28" ipAddress(2,2)="192.168.10.29" ipAddress(2,3)="192.168.10.30" ipAddress(3,0)="192.168.10.35" ipAddress(3,1)="192.168.10.36" ipAddress(3,2)="192.168.10.37" ipAddress(3,3)="192.168.10.38" ipAddress(4,0)="192.168.10.43" ipAddress(4,1)="192.168.10.44" ipAddress(4,2)="192.168.10.45" ipAddress(4,3)="192.168.10.46" ipAddress(5,0)="192.168.10.51" ipAddress(5,1)="192.168.10.52" ipAddress(5,2)="192.168.10.53" ipAddress(5,3)="192.168.10.54" Const READ=1, WRITE=2, APPEND=8, ASCII=0 fileName="C:\Scripts\IP_Addresses.csv" Set fso = CreateObject("Scripting.FileSystemObject")

ipAddrStr = ""
If fso.FileExists(fileName) Then fso.DeleteFile(fileName)
End If
Set ipAddrFile = fso.CreateTextFile(fileName,True)

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.
For room = 0 to 5
For computer = 0 to 3 ipAddrStr = CStr(room+100) & "," & CStr(computer+1) & "," & _ ipAddress(room,computer) & vbCrlf ipAddrFile.WriteLine(ipAddrStr)
Next
WScript.Echo vbCrlf
Next

ipAddrFile.Close

Set ipAddrFile =

You May Also Find These Documents Helpful

  • Good Essays

    NIC test: It also monitors health of the other firewall by testing NIC status whether the link is up or down (cisco 2008).…

    • 480 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    COMP230 Wk1 Lab Report

    • 819 Words
    • 6 Pages

    Copy and paste the specified ipconfig /all command output from the Windows CLI into the Task 1 box provided below.…

    • 819 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1310 Unit 7

    • 458 Words
    • 2 Pages

    Since it’s a class B address. I took the first and second set of number from the IP address and added them to the first and second part of the subnet mask. Pushing the first 2 numbers of the subnet mask to the third and fourth spot.…

    • 458 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Netw310Labreport Week 1

    • 301 Words
    • 2 Pages

    1. There are three patterns outlined on the screen which one of these is identifying the noise floor?The middle pattern shows noise floor.…

    • 301 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    COMP101 U1 IP Document

    • 635 Words
    • 2 Pages

    Paragraph 3: Word, which is a word processing computer program and much more, are an extremely powerful and full-featured business and personal tool for creating documents of all kinds, and Word is studied in Unit’s 1 and 2 in this course. PowerPoint, which is a software product for preparing slides for personal or business presentation, will be studied in Unit 3. Excel, which is an automated spreadsheet, will be studied in Units 4 and 5. The ubiquitus computer have much power when used for purposes of creating, modifying, and storing documents, for tracking and storing data in spreadsheet form, and for making personal and business presentations to convay information or to persuade thinking of others. Those are the Office 2010 functions that are concerned in this course, called COMP101.…

    • 635 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Click on the Advanced button and then the TCP/IP tab to see the IP address on the right of the…

    • 570 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Nt1330 Unit 1 Assignment

    • 3253 Words
    • 14 Pages

    After entering all the details you need to restart networking services using the following command…

    • 3253 Words
    • 14 Pages
    Powerful Essays
  • Good Essays

    Netw410 Week2

    • 716 Words
    • 3 Pages

    Business Goals for this project include addressing the growth of on-campus and online students. To accomplish these goals a centralized server located in new IT wing of the administration building providing online backup of all data. Replacing the PBX-based telephone system with a VoIP based system and connecting all buildings providing high-speed wired network connection for all facility offices will be implemented along with controlled wireless access for students. Wireless access for students and general population will be provided outside the building.…

    • 716 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Manages information-consistency capacities, i.e., gives a dependable byte stream between two nodes on a system. TCP and UDP exert at this particular level.…

    • 1263 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    Mgmt600-1204a-06 P2 Ip

    • 1021 Words
    • 5 Pages

    The general summary report for the Educational Attainment portion for zip code 60614, Chicago, IL for graduates of a two to four plus years of college or university was much higher than the U. S. totals, 80.08% to 30.72%. But, people with some college and no degree was much lower in the 60614 zip code area and those percentages were 8.72% to 21.05%. As far as students in ninth through eleventh without obtaining a diploma was again much lower in Chicago than in the entire U. S. These numbers were 3.19% to 12.05%. Lastly, looking at kindergarten to twelfth grade graduates was again lower in Chicago at 7.55% to the U. S. totals of 28.63%.…

    • 1021 Words
    • 5 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

    In the space provided below to copy and paste the remainder of your IP_Array.vbs sourcecode.…

    • 822 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    NETW204week1labreport

    • 436 Words
    • 3 Pages

    Task 4, Step 2: Paste a screenshot AFTER you execute the “show ip route” command (2 points)…

    • 436 Words
    • 3 Pages
    Good Essays
  • Good Essays

    User Manual on E2M Exports

    • 1983 Words
    • 8 Pages

    Filling the data in the Export Declaration Use TAB key to jump from one box to another OFFICE CODE: 2 Boxes Choose value from the drop down to what Port you are BOX 1 MODEL OF DECLARATION going to file your ED…

    • 1983 Words
    • 8 Pages
    Good Essays
  • Powerful Essays

    Sample Format IP

    • 4997 Words
    • 29 Pages

    was the most tolerating. For without his supervision, the burden of all the works would have…

    • 4997 Words
    • 29 Pages
    Powerful Essays