1 / 14

Network Admin Toolkit aka Scripting Basics

Network Admin Toolkit aka Scripting Basics. Bloomington Tech Feast. Terry Sullivan, Technology Director tsulliva@comwares.net Shiloh CUSD #1 & Edgar County CUSD#6. Introduction. What is a script Where can scripts be applied Scripts and Active Directory Scripting tools Scripting Samples

randi
Download Presentation

Network Admin Toolkit aka Scripting Basics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Network Admin Toolkit aka Scripting Basics Bloomington Tech Feast Terry Sullivan, Technology Director tsulliva@comwares.netShiloh CUSD #1 & Edgar County CUSD#6

  2. Introduction • What is a script • Where can scripts be applied • Scripts and Active Directory • Scripting tools • Scripting Samples • Batch files • WSH (vbs) files • Wscript and CScript • Scripting Resources

  3. What is a Script • Series of commands to be executed • Can be sequential or include decision logic • Commands written instruction in special language VBScript, Jscript, other, … • Windows Scripting Host - WSH is the part that reads and carries out the instructions in the script • Included in Windows since Win98 – IE 4.0 • WSCRIPT and CSCRIPT - Executables that actually interpret the “.vbs” or “.js” script files

  4. Working from a Command Line • http://www.ss64.com/

  5. Jobs that Script Do? • Map network drives • Connect to printers • Modify environment variables e.g. Temp • Run basic functions such as CreateObject and GetObject • Print a message to a Message Box on screen • Modify keys and values in the registry • Anything which can be done manually

  6. Complete set of commandsOrCall other programs and utilities • & Other Windows 2003 Resource Kit Tools Sample Utility WinExit.SCR

  7. Other Tools - SysInternals • www.sysinternals.com

  8. http://www.microsoft.com/technet/scriptcenter/

  9. Types of Scripts • Batch or Command Files • WSH or VB script • Wscript • Cscript • Java • REXX • Perl

  10. Tools • Script-o-Matic 2.0 • Script Wizard • WMI • Windows Management Information • ADSI • Active Directory Service Interfaces • Tweak-o-matic • Log Parser • Find Samples!! • http://www.microsoft.com/technet/scriptcenter/createit.mspx

  11. http://www.microsoft.com/technet/scriptcenter/createit.mspx

  12. Samples & Examples • Simple to Complex • Classic Batch Files • WSH (vbs files) • Calling other applications • Login Script Resources • Other types of scripting • PERL, JAVA or Jscript, etc.

  13. Q&A

More Related