Module 04 of 10

Scripting & Automation

Lessons

About This Module

Doing the same task by hand on ten servers is slow and easy to get wrong. Scripts let you write the steps once and run them as often as you need, so a good systems administrator automates anything they have to repeat.

You'll start with PowerShell, the main scripting language for Windows environments, and learn cmdlets, variables, and the pipeline. Then you'll move to Bash scripting for Linux servers. Finally you'll learn to run your scripts automatically on a schedule with Task Scheduler on Windows and cron on Linux.

Watch the lessons in order, then continue on to Storage, Backup & Recovery.

Lessons

4 videos
01

Learn PowerShell in Less Than 2 Hours

A beginner-friendly introduction to PowerShell: running scripts, cmdlets, the pipeline, variables, and writing your first scripts.

02

Learn Bash Scripting in 1 Hour

The basics of Bash shell scripting on Linux: writing a script, variables, conditions, loops, and running it.

03

Automate PowerShell Scripts with Task Scheduler

How to run a PowerShell script automatically on a schedule using Windows Task Scheduler.

04

Cron Jobs: How to Schedule Commands with crontab

How cron works on Linux, how to read the cron schedule format, and how to schedule commands and scripts with crontab.