Comp230 Course Project

1574 Words Apr 11th, 2016 7 Pages
2015

System Administration
Tasks by Automation
Proposal
MANAGING BUILDING IP ADDRESSES AND TESTING
CONNECTIVITY
[STUDENT NAME]

Table of Contents
Introduction

.

.

.

.

.

.

.

.

.

.

2

Description of Program

.

.

.

.

.

.

.

.

3

Source Code with Description

.

.

.

.

.

.

.

.

9

Output Explanation

.

.

.

.

.

.

.

.

.

15

Conclusion

.

.

.

.

.

.

.

.

.

.

16

References

.

.

.

.

.

.

.

.

.

.

17

1

Introduction
The work of an IT professional heavily relies on the knowledge of his network.
Any companies network can easily become vast and expansive
…show more content…
It first checks for the existence of a folder under the location of C:\Scripts\Building and if the script does not find the folder, then the folder is created.
This folder is what will hold all of the
Room files created by the script.

choice = 0

Here the Script is initializing some constants and variables that are going to be used globally in the program.

Do while choice = 0
' Menu

Requirement: constants and variables

vbcrlf & vbcrlf & " What action would you like to perform?")

4

Here is an example of creating an output of a list that shows all of the possible options available in the script. This continues on the next page. Beginning here is the background of the menu taking action.

' retrieving choice

wscript.echo("Your choice was " & choice & vbCrlf)

The user’s input is received and is then referenced to the appropriate function or subroutine.

' Cases

Requirement: decision making and input statements.

choice = GetChoice()

select case choice case "1" viewBldg() case "2" viewRoom() case "3" addRoom() case "4" delRoom() case "5" pingAll() case "6" addAddr() case "7" delAddr() case "8" chkAddr() case "9" pingAddr() end Select choice = 0
Loop

wscript.echo("How about an 'A' for the effort of writing this in 1 DAY!!!! Or for PCMR :D ")

'…

More about Comp230 Course Project