Microsoft VBScript Fundamentals for Network Administrators
(Based on Course 2433)
Three days; Instructor-led
Introduction
Elements of this syllabus are subject to change
The goal of this course is to teach Microsoft Windows administrators how
to take advantage of Windows Script Host (WSH) by using the Microsoft Visual
Basic Scripting Edition (VBScript) language. This course is designed to
equip students with the knowledge, skills, and tools to develop real-world
scripts that can be used to manage their unique computing environments.
Audience
This course is intended for Windows systems administrators who are new to
scripting and 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
After completing this course, students will understand how to:
- Describe WSH and associated scripting technologies.
- Use objects in code written in Visual Basic Scripting Edition.
- Master the essentials of the VBScript language.
- Understand proper debugging and error handling techniques.
- Use VBScript to interact with Windows systems.
- Develop techniques to build logon, logoff, startup, and shutdown
scripts.
- Develop scripts that perform common administrative tasks.
Prerequisites
Before attending this course, students must have:
- Understanding of core Windows technologies (navigating the user
interface, working with the file and print subsystem, Windows security,
and user authentication). These topics are taught in Microsoft course
2273.
- Tenacity – the ability to work through logic and run-time issues
without getting too frustrated.
- Awareness of the potential uses of logon scripts.
Next Step
To continue in your technology
training, we recommend that you take the following course after successfully
completing this Microsoft 2433 course:
Course Outline
Module 1 – Overview of Windows Scripting Technologies
- Introduction to Windows Script Host (WSH)
- Running and Working with Scripts
- Comparing VBScript with Visual Basic and other scripting
technologies
Module 2 – Working with
Objects
- Object Terminology
- Creating and Using Objects
- Understanding Common Object Models
- Using an Object Browser
Module 3 – Script Logic –
“the grammar of VBScript”
- Fundamental VBScript Rules
- Variables, Constants, and Data Types
- Operators
- Conditions (If…Then, If…Then…Elseif, If…Then…Else, Select Case)
- Loops (For…Next, Do While…Loop, Do Until…Loop)
- Procedures (Sub and Function)
- Script Layout
Module 4 – Error Handling
and Debugging
- Dealing with VBScript Run-Time Errors
- Dealing with VBScript Syntax Errors
- Event Handling and Error Handling
- Using the Microsoft Script Debugger and other Tools
Module 5 – Understanding
Active Directory Services Interface
- ADSI Overview
- Binding with ADSI
- ADSI Objects (Computer, Domain, User, Group, OU, Printer)
- Searching Active Directory
- Connecting to Active Directory
- Creating More Effective Queries
- Setting Security in Active Directory
- Managing Shares with ADSI
- Controlling Services Using ADSI
Module 6 – Creating Logon
Scripts
- Common Logon Script Tasks
- Managing Logon Scripts
- Troubleshooting Logon Scripts
- Best Practices
Module 7 – Administrative
Scripts
- 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
|