Introduction to VB Script and Scripting for Windows Administrators
Course
Online
Description
-
Type
Course
-
Methodology
Online
In many current technology areas there is often a need to automate tasks without the need to create a large application. This can be automating system administration tasks; dynamic web page creation; creating web page testing scripts. It is in this gap that scripting (or script programming) fits. Script programming within the Windows environment is very powerful. Scripts can ease the burden of a network administrator by automating repetitive and laborious tasks. They can make information from machines in the enterprise easily available. Scripts can access databases, text files and spreadsheets. They can make websites interactive and bring powerful functionality to the website designer's armory.
Reviews
Subjects
- Windows
- IT
- VB script
- VB
Course programme
- Explanation of what a program is
- How to design a program
- Understanding the Specification
- Use Cases
- Flowcharts and Psuedo Code
- Logical layers
- Development LifeCycle
- Other Issues
- What is scripting?
- Writing VBScript code
- Variables and constants
- Operators
- Boolean Logic
- Logical decision making
- Looping statements
- What is procedural programming
- Subroutines and Functions
- Writing and calling procedures
- Scope
- MsgBox and InputBox
- What is an object
- Type libraries and classes
- How to create and use objects
- What are properties and methods, How to access properties and methods
- How to identify the available objects in a library
- How to identify the available properties and methods
- Using the WSH Shell object to launch applications, control them and manipulate their output
- Creating a ping function to check machine availability
- Getting user input through arguments and the standard input streams
- Reading information from the registry
- Deleting registry values and keys
- Creating and modifying the registry
- Creating shortcuts
- Accessing the paths to special folders via script
- Mapping network drives
- Enumerating mapped drives and installed printers
- Installing printers via script.
- Enumerating folders
- Creating and deleting folders
- Reading and modifying folder properties
- Retrieving drive information
- Enumerating files
- Creating and deleting files
- Reading and writing to files
- Sending emails via the FileSystemObject
- Using the Excel objects to read from and write to spreadsheets
- Using the ActiveX Data Object model to access databases
- System DSNs
- Reading and Writing to SQL databases
- Functions provided in VBScript
- string, date and numeric functions
- Conversion Functions; Is Functions
- Using simple scripts to utilise Windows Management Instrumentation (WMI)
- The WMI scriptomatic tool
- Using simple scripts to utilise Active Directory Services Interface (ADSI)
- The ADSI scriptomatic tool
Introduction to VB Script and Scripting for Windows Administrators