Advanced Scripting For Windows System Administrators

Level
Total time

Advanced Scripting For Windows System Administrators

Perpetual Solutions
Logo Perpetual Solutions
Provider rating: starstarstarstarstar 10 Perpetual Solutions has an average rating of 10 (out of 1 reviews)

Need more information? Get more details on the site of the provider.

Starting dates and places

There are no known starting dates for this product.
  • View related products with starting dates: VBScript.

Description

Prerequisites:

The course is written for administrators/IT professionals who already have some knowledge and experience of scripting the Windows environment, and would like to explore ways in which they can automate otherwise repetitive tasks. The use of WMI will allow the administrator to manage and configure multiple remote systems simultaneously. The WMI event model will allow server administrators to automatically react to server events, as and when they happen.

It will also investigate the automation of AD management processes through the use of ADSI, enabling the administrator to build and populate AD structures through script.

Previous VBScript experience is essential. This is a fast pac…

Read the complete description

Frequently asked questions

There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.

Prerequisites:

The course is written for administrators/IT professionals who already have some knowledge and experience of scripting the Windows environment, and would like to explore ways in which they can automate otherwise repetitive tasks. The use of WMI will allow the administrator to manage and configure multiple remote systems simultaneously. The WMI event model will allow server administrators to automatically react to server events, as and when they happen.

It will also investigate the automation of AD management processes through the use of ADSI, enabling the administrator to build and populate AD structures through script.

Previous VBScript experience is essential. This is a fast paced course tackling advanced scripting subjects. It is also assumed that the delegate understands the terminology of Active Directory, so they can script changes to the AD database.

Course Description:

This course aims to take delegates with previous experience in scripting and show them how to use Windows Management Instrumentation (WMI).

The course will be delivered as an interactive lecture including many hands-on exercises. The delegates will be writing scripts they can take away and put to use in production.

On completion of this course, delegates will be able to:

  • Understand and utilise WMI paths, objects, and methods to configure remote systems
  • Manage event logs via script
  • Gathering hardware/software inventories via script
  • Install/remove software via script
  • Retrieve hotfix/patch information with scripts
  • Monitor systems with the WMI event model.
  • Read data from Active Directory
  • Script creation of user, group, and computer accounts
  • Script creation of OU structures in AD
  • Script updates of multiple account in AD
  • Search AD for disabled/locked out/dormant accounts
  • Script deletion of AD objects
  • Use ADSI to manage local user accounts
  • Script password management

This course includes the following modules:

Introduction to WMI

  • What is WMI?
  • Benefits of WMI
  • Common Information Model
  • Consumers and providers
  • Managed Object Format files
  • Windows management service
  • Overview of the WMI Software Development Kit

Retrieving WMI data

  • Connecting to WMI
  • WMI management interface
  • WMI scripting API
  • WBEM scripting environment
  • WinMgmts moniker
  • SwbemLocator and SwbemServices objects
  • WMI object paths
  • WMI Query Language
  • The WMI DateTime format
  • Managing disk drives
  • Getting BIOS information

Configuration with WMI

  • The WMI cache
  • Calling WMI object methods
  • Return values
  • Associator objects
  • Managing event logs
  • Creating shares
  • Accessing network information
  • Changing IP settings
  • Launching and terminating processes.
  • Remote WMI

How to access WMI on remote systems

  • Using privileges in scripts
  • WMI Authentication Levels
  • WMI Authentication Levels
  • Handling network errors
  • Remote system shutdown/reboot
  • Delegation of user privileges
  • Backing up eventlogs
  • Installing software
  • A network discovery script.

Monitoring with WMI

  • Using WMI to monitor for events
  • Monitoring multiple systems with asynchronous scripts
  • Permanent event subscriptions
  • Running scripts as the result of events
  • Sending emails on events.

Scripting the Registry with WMI

  • When to use the StdReg provider
  • Managing large binary registry values
  • Managing REGMULTISZ registry values
  • Enumerating registry keys and values
  • Monitoring the registry.

Accessing AD objects wih ADSI

  • Using ADSI to connect to AD and to the local SAM accounts database
  • Understanding LDAP paths and the RootDSE object.

Creating objects in AD

  • Creating users groups computers and OUs Managing the local ADSI cache
  • Mandatory properties.
  • Accessing and Modifying Object Properties

Coping with different Active Directory data types

  • Efficient manipulation of property updates Changing and setting passwords
  • Discovering last logon time Unlocking/disabling/enabling user accounts.

Searching AD

  • LDAP and SQL search syntax
  • Searching for particular users/groups/computers Searching for disabled/locked out accounts Searching for dormant accounts.

Security

  • Scripting file system and AD permissions
  • Encoding scripts
  • Signing scripts and controlling which scripts will run.

For online live training advice please visit our Learning Advice Centre on our website. Be sure to follow us on Twitter to receive special course offers, news and updates!

There are no reviews yet.
  • View related products with reviews: VBScript.

Share your review

Do you have experience with this course? Submit your review and help other people make the right choice. As a thank you for your effort we will donate £1.- to Stichting Edukans.

There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.