Introduction to VB Script and Scripting for Windows Administrators

Course

Online

Price on request

Description

  • Type

    Course

  • Methodology

    Online

In many current technology areas there is often a need to automate tasks without the need to create a large application. This can be automating system administration tasks; dynamic web page creation; creating web page testing scripts. It is in this gap that scripting (or script programming) fits. Script programming within the Windows environment is very powerful. Scripts can ease the burden of a network administrator by automating repetitive and laborious tasks. They can make information from machines in the enterprise easily available. Scripts can access databases, text files and spreadsheets. They can make websites interactive and bring powerful functionality to the website designer's armory.

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Reviews

Subjects

  • Windows
  • IT
  • VB script
  • VB

Course programme

An Introduction To Programming

  • Explanation of what a program is
  • How to design a program
  • Understanding the Specification
  • Use Cases
  • Flowcharts and Psuedo Code
  • Logical layers
  • Development LifeCycle
  • Other Issues

VBScript Fundamentals

  • What is scripting?
  • Writing VBScript code
  • Variables and constants
  • Operators
  • Boolean Logic
  • Logical decision making
  • Looping statements

Procedural Programming

  • What is procedural programming
  • Subroutines and Functions
  • Writing and calling procedures
  • Scope
  • MsgBox and InputBox

Object Fundamentals

  • What is an object
  • Type libraries and classes
  • How to create and use objects
  • What are properties and methods, How to access properties and methods
  • How to identify the available objects in a library
  • How to identify the available properties and methods

Automating Applications and command line tools

  • Using the WSH Shell object to launch applications, control them and manipulate their output
  • Creating a ping function to check machine availability

User Input through WSH

  • Getting user input through arguments and the standard input streams

The Registry

  • Reading information from the registry
  • Deleting registry values and keys
  • Creating and modifying the registry

Shortcuts

  • Creating shortcuts
  • Accessing the paths to special folders via script

The Network Object

  • Mapping network drives
  • Enumerating mapped drives and installed printers
  • Installing printers via script.

Folders

  • Enumerating folders
  • Creating and deleting folders
  • Reading and modifying folder properties
  • Retrieving drive information

Files

  • Enumerating files
  • Creating and deleting files
  • Reading and writing to files
  • Sending emails via the FileSystemObject

Spreadsheets

  • Using the Excel objects to read from and write to spreadsheets

Databases

  • Using the ActiveX Data Object model to access databases
  • System DSNs
  • Reading and Writing to SQL databases

Appendix VBScript Language

  • Functions provided in VBScript
  • string, date and numeric functions
  • Conversion Functions; Is Functions

Appendix WMI

  • Using simple scripts to utilise Windows Management Instrumentation (WMI)
  • The WMI scriptomatic tool

Appendix Introduction to ADSI

  • Using simple scripts to utilise Active Directory Services Interface (ADSI)
  • The ADSI scriptomatic tool

Introduction to VB Script and Scripting for Windows Administrators

Price on request