The VB Script course is designed for Windows Administrators who need to develop automated scripts using WMI, ADSI and File System Objects, and the occasional application. This course assumes you already have a knowledge of scripting with VB Script and introduces you to working with other objects within the Windows environment.
Windows administrators who have an understanding of VB Script control structures such as If, Do While, For. Can create variables and print output. Ideally you would have an appreciation of WSH, but this will be included as a review in the course. The course starts by working with objects available in the Windows environment and moves on to WMI and ADSI which are the advanced topics. As stated this course is ideal for Windows users who intend to automate system tasks through Active Directory or remotely administer/monitor Windows systems.
The course work is based around a 50/50 approach to lecture and hands on giving the attendee the chance to really work with the language and see its potential. The exercises will be thought provoking and useful to understanding the new areas covered.
VB Script introductory course, or a good understanding of the basics of VB Script. You should be able to write VB Script code in a maintainable way using various control structures and variable data types.
1st Day: Start 9:30am - Finish 5:00pm
Subsequent Days: Start 9:00am - Finish 5:00pm
Definition of objects, types used by VB Script, using them and creating your own objects.
Working with files and directories object. Creating, reading, identifying attributes.
Working with the Error object, part of the VB Script language. How to trap, analyse and use error information and to create errors.
WSH provides a way to host various scripting languages as well as access to components of the operating system. Here you will use WSH to aid automation of applications. We will also look at accessing the registry with WSH, and how scripts can be created to work on both command line and windowing environment.
WMI combines scripting with the Win32 API allowing access to components of the Microsoft operating system. In this section you will see how WMI can be used to automate administration. We will show you what components are available using a built in tool, and how to work with them.
Making use of the monitoring components from the Windows system to generate your own reports.
Accessing details about users and group information for logged on users and accounts available in the system.
Connecting to a remote system using WMI. Issues with doing this. Authentication and security.
Introduction to working with Active Directory scripting. A background in LDAP. Querying using ADSI and ADODB. A look at the different providers such as LDAP, WinNT"s NTDS. Access to various objects.
Various ways of creating objects within Active Directory, and the terminology used for the different aspects.
Adding security to VB Scripts for remote services using WMI and ADSI.
Lots of examples and practical questions to give you a chance to try things out. Feel free to bring along your own ideas to try.