Course code: MOC 2433« Back

Microsoft Visual Basic Scripting Edition and Microsoft Windows Script Host Essentials

The goal of this course is to teach Microsoft Windows® 2000 operating system administrators how to take advantage of Windows Script Host (WSH) by using the Microsoft Visual Basic® Scripting Edition (VBScript) language. They will be able to develop real world scripts that they can use to manage Windows 2000 networks. This course also provides an overview of other technologies where you can use script, such as Active Server Pages (ASP), Windows Management Instrumentation (WMI), and third-party Component Object Model (COM) components.

This course has been removed from our portfolio
This section contains overview of retired courses which don’t belong to GOPAS course offer any more or were replaced by new course versions.
For more information about possibility to buy retired courses contact our customer services department ( or business department (

AffiliateDurationCatalogue priceHandbook priceITB
Praha3 15 950 CZK included in course price 30
Brno3 15 950 CZK included in course price 30
Bratislava3 360,00 EUR 189,00 EUR 30

User intensity level

Who is the course for

This course is intended for Windows 2000 systems administrators who need to learn how to develop administrative scripts for their enterprise networks. In addition, this course benefits anyone who wants an introduction to the VBScript programming language.

What we teach you

  • Describe WSH and associated scripting technologies.
  • Use objects in code written in Visual Basic Scripting Edition.
  • Master the essentials of the VBScript language.
  • Master debugging and error handling with VBScript.
  • Use VBScript to interact with Active Directory™ Services Interface (ADSI).
  • Develop logon, logoff, startup and shutdown scripts.
  • Develop scripts that perform common administrative tasks.
  • Identify how they can continue to use VBScript in other scenarios.

    Required skills

  • Practical experience using and administering Windows 2000.
  • Practical experience using and administering the Active Directory directory service.
  • Practical experience using and administering system security.
  • Practical experience using and administering services.
  • Practical experience using systems management information.
  • Awareness of the potential uses of logon scripts.

    Teaching methods

    Instructor-led classroom training with self-paced practical exercises in virtual environment

    Teaching materials

    The student kit includes a comprehensive workbook and other necessary materials for this class. The following software is provided in the student kit:
  • SAPIEN Technologies, Inc. PrimalSCRIPT version 2.0
  • VBScript version 5.5 Documentation
  • Windows Script Host version 2.0 Documentation

    Course Outline

    Module 1: Overview of Windows Scripting Technologies
  • Introduction to WSH
  • Running Scripts
  • Working with Scripts
  • Comparing VBScript and Visual Basic
  • Using the various technologies associated with running Windows scripts.
  • Running scripts.
  • Working with scripts.

    Module 2: Working with Objects

  • Object Terminology
  • Creating and Using Objects
  • Understanding Object Models
  • Common Object Models
  • Understanding how scripts use objects.
  • Understanding object terminology.
  • Using an object browser.
  • Understanding how scripts interact with COM.
  • Explaining the uses of various object models.

    Module 3: Script Logic

  • Fundamental VBScript Rules
  • Variables, Constants, and Data Types
  • Operators
  • Conditions and Loops
  • Procedures
  • Script Layout
  • Declaring and using variables, constants, and data types in scripts.
  • Using VBScript language operators.
  • Constructing conditional code structures.
  • Constructing looping structures.
  • Declaring and using Sub and Function procedures.
  • Determining an effective script layout.

    Module 4: Error Handling and Debugging

  • Error Handling
  • Debugging
  • Preempting the types of errors that may be present in code written in VBScript.
  • Writing code that handles run-time errors.
  • Using the Microsoft Script Debugger to locate and fix logic errors.

    Module 5: Understanding ADSI

  • ADSI Overview
  • Binding with ADSI
  • ADSI Objects
  • Searching Active Directory
  • Creating New ADSI Objects
  • Setting Security in Active Directory
  • Managing Shares with ADSI
  • Controlling Services Using ADSI
  • ADSI Resources
  • Binding to ADSI objects.
  • Searching Active Directory.
  • Creating and modifying objects in Active Directory.
  • Managing shares with ADSI.
  • Controlling services with ADSI.

    Module 6: Creating Logon Scripts

  • Verifying the WSH Environment
  • Common Logon Script Tasks
  • Managing Logon Scripts
  • Troubleshooting Logon Scripts
  • Best Practices
  • Checking that the correct version of WSH is installed.
  • Calling logon scripts from batch files.
  • Accomplishing common tasks in logon scripts.
  • Assigning logon scripts to users.
  • Describing common issues with logon scripts.
  • Describing best practices for logon scripts.
  • Controlling services with ADSI.

    Module 7: Administrative Script

  • Script Arguments
  • Working with Event Logs
  • Generating E-Mail Messages
  • Managing the Registry
  • Working with Drives, Folders, and Files
  • Setting Folder-Level and File-Level Security
  • Scheduling Scripts
  • Best Practices
  • Managing arguments in scripts.
  • Adding entries to Windows 2000 event logs.
  • Using collaborative data objects (CDO) to generate an e-mail message.
  • Using script to manage the registry.
  • Using script to work with drives, folders, and files.
  • Scheduling scripts.

    Module 8: Beyond the Basics

  • Windows Script Files
  • Using COM Components
  • WMI
  • Scripting Microsoft Office
  • ASP Pages
  • Windows script (.wsf) files.
  • How COM components enhance the power of scripts.
  • Windows Management Instrumentation (WMI).
  • Scripting applications in Microsoft Office.
  • Active Server Pages (ASP).
  • Tištěná příručka MOC 2433

    4950 CZK
    Elektronická příručka MOC2433

    4550 CZK
    Tištěná příručka MOC 2433

    189 EUR
    Elektronická příručka MOC2433

    The prices are without VAT.