Skip to content
Try this course

Free course template · Global

Scripting and automation for IT and business: Shell, powershell, bash and VBA

A ready-made course, live deck and two surveys for sysadmins. 40 minutes, 6 lessons. Last reviewed 21 October 2026; not legal advice.

Try the courseClaim the template

Play a game from the course

Scripting and automation for IT and business: Shell, powershell, bash and VBA: try 3 questions

Three questions from this course. Pick an answer, then see why.

Play the game

Game not loading? Open it in a new tab (opens in a new tab)

Three pieces that work together

Learners sign in, so every finish and score is recorded. 8 fields to fill in with your details.

Claim the template
The Scripting and automation for IT and business: Shell, powershell, bash and VBA course as a learner first sees it

6 lessons, about 40 minutes

Minutes are an estimate.

  • Lesson 1: A script that deleted the wrong folder · 8 min

    Before you begin · The clean-up · What went wrong

  • Lesson 2: Variables, conditions and loops in a shell · 8 min

    Building blocks · Predict the output · Check

  • Lesson 3: Reading and filtering text · 5 min

    Filters in a pipeline · Which tool?

  • Lesson 4: Spreadsheet macros without surprises · 7 min

    Macro habits · The overwritten total · Controls

  • Lesson 5: Scheduling, logging and safe defaults · 7 min

    Safe defaults · Rank the risk · Check

  • Lesson 6: Code review of a script and final assessment · 5 min

    The reviewer's checklist · Practice

Claim the template

Inside this course

Taken from the course itself.

By the end, learners can

  • Use variables, conditions and loops in a shell script and predict the result
  • Filter and read text safely with common command-line tools
  • Write spreadsheet macros that do not surprise the next user
  • Schedule a script with logging and safe defaults
  • Review a script for risky commands before it runs

Sample questions, with answers

  1. What is the best prevention for this kind of mistake?

    • Check the variable is set and do a dry run first
    • Run the script more often
    • Give the script more privileges
    • Delete the backup

    Answer: Check the variable is set and do a dry run first. Checking the variable and doing a dry run stop the script before it changes real data.

    Lesson 1: A script that deleted the wrong folder

  2. Which tool keeps only the lines that match a pattern?

    • A search tool such as grep
    • A sort tool only
    • A copy command
    • A text editor

    Answer: A search tool such as grep. A search tool filters lines by pattern. Sorting only changes the order.

    Lesson 3: Reading and filtering text

  3. Why should a macro keep a log sheet?

    • So the next user can see what ran and when
    • To make the file larger
    • To slow the macro down
    • So nobody opens the file

    Answer: So the next user can see what ran and when. A log sheet shows what the macro did, which helps anyone checking or fixing it.

    Lesson 4: Spreadsheet macros without surprises

A scenario from "Reading and filtering text"

You need the lines containing "ERROR" with a count.

Best response: Filter with a search tool then count.

Weaker responses: Open it in an editor and count by eye; Copy to a spreadsheet; Delete other lines.

Common questions

Yes. Claiming the template and editing it are free.

Yes. The course is self-paced and online, and the live deck lets you add a live session in the room or online.

At onboarding of operations staff, and before shared scripts or macros are put under review.

Sysadmins, IT operations and DevOps staff, and finance analysts who automate with macros; run by IT operations leads with L&D.

Record completion in your own LMS or record system, so you can show who finished the course and when.

Your own details, each highlighted inside the course:
  • Link to the organisation policy referred to in the course
  • Link to the change management policy
  • Where completion is recorded
  • Who to ask for help or to report a concern
  • Link to the self-paced course
  • List of approved tools and versions
Then edit anything else you like: wording, scenarios, your logo.
Visit the help centre (opens in a new tab)