MS Developer Training
Microsoft Visual Basic Scripting Edition and Microsoft Windows Script Host Essentials
Introduction
The goal of this course is to teach Microsoft Windows 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 theycan use to manage Windows 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).
Audience
This course is intended for Windows 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.
At Course Completion
At the end of the course, students will be able to:
• 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.
Prerequisites
• 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.
Course Outline
Module 1: Overview of Windows Scripting Technologies
• Introduction to WSH
• Running Scripts
• Working with Scripts
• Comparing VBScript and Visual Basic
Module 2: Working with Objects
• Object Terminology
• Creating and Using Objects
• Understanding Object Models
• Common Object Models
Module 3: Script Logic
• Fundamental VBScript Rules
• Variables, Constants, and Data Types
• Operators
• Conditions and Loops
• Procedures
• Script Layout
Module 4: Error Handling and Debugging
• Error Handling
• Debugging
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
Module 6: Creating Logon Scripts
The following topics are covered in this module:
• Verifying the WSH Environment
• Common Logon Script Tasks
• Managing Logon Scripts
• Troubleshooting Logon Scripts
• Best Practices
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
Module 8: Beyond the Basics
• Windows Script Files
• Using COM Components
• WMI
• Scripting Microsoft Office
• ASP Pages
Return to MS Developer Training
|