Network Admin Toolkit aka Scripting Basics - PowerPoint PPT Presentation

1 / 14
About This Presentation
Title:

Network Admin Toolkit aka Scripting Basics

Description:

Commands written instruction in special language VBScript, Jscript, other, ... WSH or VB script. Wscript. Cscript. Java. REXX. Perl. Tools. Script-o-Matic 2.0 ... – PowerPoint PPT presentation

Number of Views:63
Avg rating:3.0/5.0
Slides: 15
Provided by: tomst5
Category:

less

Transcript and Presenter's Notes

Title: Network Admin Toolkit aka Scripting Basics


1
Network Admin Toolkit aka Scripting Basics
Bloomington Tech Feast
  • Terry Sullivan, Technology Director
  • tsulliva_at_comwares.netShiloh CUSD 1 Edgar
    County CUSD6

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 commands OrCall other programs
and utilities
Sample Utility
WinExit.SCR
  • Other Windows 2003 Resource Kit Tools

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/crea
    teit.mspx

11
  • http//www.microsoft.com/technet/scriptcenter/crea
    teit.mspx

12
(No Transcript)
13
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.

14
QA
Write a Comment
User Comments (0)
About PowerShow.com