An Introduction to Scripting For Windows System Administrators
Book Now - 1 Delivery Method Available:Scheduled Online Onsite
The inclusion of Windows Scripting Host (WSH) in Windows provides a rich and powerful environment for System Administrators to manage and administer their Windows machines. With a little VBScript knowledge you will soon be able to take advantage of the improved effectiveness and efficiency that scripts can give your working life. Computers were originally designed to take away the drudgery of dull, repetitive tasks, but unfortunately administering them generates dull, repetitive tasks such as monthly/weekly defrags, making the same registry change on machine after machine. Scripting allows us to give those tedious jobs back to the machine that was designed to handle them in the first place.
This course will start with the basics of using scripts to manipulate an object based environment. The course will then use VBScript to access and manipulate the WSH objects, the FileSystemObject, the Excel object model and the ADO objects for accessing databases. You will learn how to write scripts that automate applications, parse log files for specific information, map network drives, and install printers and applications, amongst others things. Due to the practical nature of scripting, there will be a large element of hands on lab work with an emphasis on creating reusable, useful sample scripts that can be employed in the work place.
The course will be delivered as an interactive lecture including many hands-on exercises.
We work with the following best of breed training partners using our bulk buying power to bring you a wider range of dates, locations and prices.
Object Fundamentals (1 topic)
- 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
Automating Applications and command line tools (1 topic)
- Using the WSH Shell object to launch applications, control them and manipulate their output; Creating a ping function to check machine availability.
User Input through WSH (1 topic)
- Getting user input through arguments and the standard input streams.
The Registry (1 topic)
- Reading information from the registry; Deleting registry values and keys; Creating and modifying the registry.
Shortcuts (1 topic)
- Creating shortcuts; Accessing the paths to special folders via script
The Network Object (2 topics)
- Mapping network drives; Enumerating mapped drives and installed printers; Installing printers via script.
The courses below may help you meet the knowledge level required to take this course. If you are unsure please ask a training advisor .