Hello
Your cart is empty. View / Checkout
United States Pricing
813-421-2951
Other Solutions

M2433

Microsoft Visual Basic Scripting Edition and Windows Script Host Essentials

  • Course Availability

Microsoft Visual Basic Scripting Edition and Microsoft Windows Script Host Essentials M2433

Course Title: Microsoft Visual Basic Scripting Edition and

Microsoft Windows Script Host Essentials

Course Code: M2433
Version: B
Level: 300
Duration: 3 Days

Course Overview

The Microsoft Visual Basic Scripting Edition and Microsoft Windows Script Host Essentials M2433 instructor-led training course has been designed to provide candidates with the necessary skills and knowledge to manage Windows networks by using the Windows Script Host (WSH) and the Microsoft Visual Basic, Scripting Edition (VBScript) language. During the course, candidates will work on real-world scripts that they can use to manage computers running Windows Vista, Windows XP and Windows Server 2003 operating systems. This course also provides an overview of other technologies where candidates can use script, such as Active Directory Service Interfaces (ADSI) and Windows Management Instrumentation (WMI).

Target Audience

Candidates who should consider attending the M2433 Microsoft training course are systems administrators who use Windows-based computers and must learn how to develop administrative scripts for their enterprise networks.

Course Objectives

On successfully completing the M2433 course candidates will be able to:
  • Run and work with scripts, including writing, debugging, and troubleshooting
  • Write scripts that access objects and use an object browser
  • Use Visual Basic, Scripting Edition to create effective and efficient administrative scripts
  • Create error-handling routines and use a debugger to locate and fix logic problems in scripts
  • Use Visual Basic, Scripting Edition to interact with ADSI
  • Call logon scripts from batch files, perform common tasks using logon scripts, and assign logon scripts to users
  • Use scheduling in scripts, send e-mails, manage the registry, and work with drives, folders, and files using scripts
  • Write scripts that gather information and automate common management tasks by using WMI

Course Prerequisites

Candidates attending the M2433 Microsoft training course should have practical experience of using and administering: Windows Server 2003, Active Directory directory service, system security and services. Candidates should also have practical experience using systems management information as well as an awareness of the potential uses of logon scripts.

Testing and Certification

There is currently no Microsoft Certified Professional exam associated with the M2433 training course.

Course Content


Module 1: Overview of Windows Scripting Technologies

In this module candidates will be introduced Windows Script Host (WSH) and how to work with script files. The module also explains basic scripting concepts such as how WSH functions and what types of scripts can be run by using WSH.


Lessons:
  • Windows Scripting Technologies
  • Introducing WSH
  • Running Scripts
  • Working with Scripts
Lab: Configuring and Using WSH
  • Configuring WSH
  • Reviewing the WSH and VBScript Documentation
  • Using Windows Script Files
  • Using an IDE to Edit Script Files
After completing this module, candidates will be able to:
  • Describe the Windows Scripting Technologies
  • Describe WSH
  • Run scripts
  • Work with scripts, including writing, debugging and troubleshooting

Module 2: Objects in VBScript and WSH

In this module candidates will be introduced to object models and objects as well as how to interact with objects in scripts. The module describes how to access objects and the functionality that they provide by using Visual Basic, Scripting Edition and Windows Script Host.


Lessons:
  • Object Terminology
  • Creating and Manipulating Objects
  • Object Models
  • Common Object Models
Lab: Objects in VBScript and WSH
  • Manipulating the Scripting Object Model
  • Manipulating the WSH Object Model
  • Automating Microsoft Office Word
After completing this module, candidates will be able to:
  • Describe how scripts use objects
  • Describe object terminology
  • Explain how to use an object browser
  • Describe how scripts interact with the Component Object Model (COM)
  • Explain the use of various object models

Module 3: Script Logic

In this module candidates will learn about how the Visual Basic, Scripting Edition scripting language provides an effective, efficient and powerful framework that can be used to write administrative scripts. The module also explains script rules and logic, and how to use effective script layouts.


Lessons:
  • Fundamental VBScript Rules
  • Variables, Constants, and Data Types
  • Operators
  • Conditions and Loops
  • Procedures
  • Script Layout
Lab: Script Logic
  • Creating Script Templates
  • Using and Creating Code Snippets
  • Adding Constants, Variables, Loops, and Conditional Structures to Scripts
  • Adding Procedures to Scripts
After completing this module, candidates will be able to:
  • Describe the rules of the Visual Basic, Scripting Edition language
  • Declare and use variables, constants, and data types in scripts
  • Use Visual Basic, Scripting Edition language operators
  • Construct conditional code and looping structures
  • Declare and use Sub and Function procedures
  • Determine an effective script layout

Module 4: Error Handling and Debugging

In this module candidates will be introduced to error handling as it is important to know how to deal with errors when they occur. The module also discusses some approaches to debugging, including the use of a debugger application.


Lessons:
  • Error Handling
  • Debugging
Lab: Error Handling and Debugging
  • Trapping Run-Time Errors
  • Debugging VBScript
After completing this module, candidates will be able to:
  • Describe the types of errors that may be present in code written in Visual Basic, Scripting Edition
  • Write code that handles run-time errors
  • Use the Microsoft Script Debugger to locate and fix logic errors

Module 5: ADSI

In this module candidates will learn how to access the functionality of Active Directory directory service through administrative scripts. The module also describes ADSI and shows how ADSI enables many administrative tasks by using scripts to be automated.


Lessons:
  • Overview of ADSI
  • Binding with ADSI
  • ADSI Objects
  • Searching Active Directory
  • Creating New ADSI Objects
  • Managing Security, Shares, and Services by Using ADSI
Lab: ADO Search
  • Performing Searches by Using ADSI and ADO
  • Searching for User and Computer Information by Using ADSI and ADO
Lab: Scripting Administrative Tasks by Using ADSI
  • Retrieving Properties by Using ADSI
  • Creating OUs, Users, and Groups by Using ADSI
After completing this module, candidates will be able to:
  • Describe how ADSI works
  • Use scripts to bind to ADSI objects
  • Use ADSI object methods and properties in scripts
  • Search Active Directory
  • Create and modify objects in Active Directory
  • Manage security settings, shares, and services using ADSI

Module 6: Creating Logon Scripts

In this module candidates will learn about the processes involved in creating and managing logon scripts, so that scripts can successfully be deployed throughout the enterprise network. The module also describes how to create and manage logon scripts.


Lessons:
  • Verifying the WSH Environment
  • Common Logon Script Tasks
  • Managing Logon Scripts
  • Troubleshooting and Best Practices
Lab: Creating Logon Scripts
  • Mapping Drives
  • Creating Shortcuts
  • Assigning Logon Scripts to a User
Lab: Assigning Logon Scripts
  • Configuring Scripts by Using Group Policy
After completing this module, candidates will be able to:
  • Check that the correct version of WSH is installed
  • Call logon scripts from batch files
  • Accomplish common tasks in logon scripts
  • Assign logon scripts to users
  • Describe common issues with logon scripts
  • Describe best practices for using logon scripts

Module 7: Administrative Scripts

In this module candidates will learn how to use script to perform typical administrative tasks by using the various scripting models that are available through Windows Script Host and Visual Basic, Scripting Edition.


Lessons:
  • Administrative Scripts
  • Producing Event Logs and E-Mail Messages
  • Managing the Registry
  • Controlling Drives, Folders, and Files
Lab: Administrative Scripts
  • Passing Arguments to Scripts
  • Writing an Event to the Application Event Log
Lab: File and E-mail Scripts
  • Documenting Computer Drives and Folders
  • Sending a Message and Attachment
After completing this module, candidates will be able to:
  • Manage arguments and use scheduling in scripts
  • Add entries to Windows Event Logs and use Collaboration Data Objects (CDO) to generate e-mail messages
  • Use script to manage the registry
  • Control drives, folders, and files by using script

Module 8: WMI

In this module candidates will be introduced to the use of WMI to query, change, and monitor configuration settings on desktop and server systems, applications, networks, and other enterprise components. The module also describes how to write scripts that use the WMI Scripting library to work with WMI and create a wide range of systems management and monitoring scripts.


Lessons:
  • WMI Overview
  • WMI Scripting Basics
  • Common Issues in WMI Scripts
  • Scripting Common Administrative Tasks by Using WMI
Lab: Writing WMI Scripts
  • Using the PrimalScript WMI Wizard
  • Managing Remote Resources by Using WMI
  • Limiting Event Log Data Returned to a Script
After completing this module, candidates will be able to:
  • Describe how WMI works
  • Describe the three basic steps that most WMI scripts use
  • Understand what a WMI provider is
  • Know how to use the PrimalScript WMI Wizard to create WMI scripts
  • Use WMI scripts to perform common management tasks
  • Use WMI providers to manage Windows-based services
PLEASE NOTE: Every effort has been made to ensure the accuracy of all information contained herein. IT Help and Support Centre Ltd makes no warranty expressed or implied with respect to accuracy of this information, including price, product editorials or product specifications. IT Help and Support Centre Ltd or its suppliers shall not be liable for incidental, consequential or special damages arising from, or as a result of, any electronic transmission or the accuracy of the information contained herin, even if IT Help and Support Centre Ltd has been advised of the possibility of such damages. Product and manufacturer names are used only for the purpose of identification.
Privacy Statement Terms & Conditions