2433, Microsoft Visual Basic Scripting Edition and Microsoft Windows Script Host Essentials

2433, Microsoft Visual Basic Scripting Edition and Microsoft Windows Script Host Essentials

This three-day instructor-led course provides students with the knowledge and skills to manage Windows networks by using the Windows Script Host (WSH) and the Microsoft Visual Basic, Scripting Edition (VBScript) language. During the course, students 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 students can use script, such as Active Directory Service Interfaces (ADSI) and Windows Management Instrumentation (WMI).

Duration: 3.0 day(s)

Price: £800.00 + VAT

Locations

Infero Ltd is based in the Lace Market in Nottingham. Training courses take place at the following locations including Nottingham, Derby, Loughborough, Mansfield, Chesterfield, Burton-on-Trent, Lincoln, Leicester, Sheffield, Stoke-on-Trent, Tamworth, Wolverhampton, Walsall, Birmingham, Solihul, Coventry, Nuneaton, Peterborough, Grantham.

Target Students

This course is intended for systems administrators who use Windows-based computers and must learn how to develop administrative scripts for their enterprise networks.

Prerequisites

Before attending this course, students must have:

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

Delivery Method

Instructor led, group-paced, classroom-delivery learning model with structured hands-on activities.

Course Objectives

After completing this course, students 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 Content

Module 1: Overview of Windows Scripting Technologies

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

Module 2: Objects in VBScript and WSH

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

Module 3: Script Logic

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

Module 4: Error Handling and Debugging

Lessons
Error Handling
Debugging
Lab: Error Handling and Debugging
Trapping Run-Time Errors
Debugging VBScript

Module 5: ADSI

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

Module 6: Creating 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

Module 7: Administrative Scripts

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 Your Computer Drives and Folders
Sending a Message and Attachment

Module 8: WMI

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


What you get

  • Professional Trainer
  • Comfortable Premises, equipped with all the technology you need
  • Comprehensive Course Materials
  • 12 Months Post Course Support
  • Pub Lunch
  • Refreshments, available throughout the day
                         More on Why Train With Us

Training Options

Public Course Schedule & Booking

Or chose from Our Locations:

Birmingham

Nottingham

Back