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.
A beginner-friendly introduction to PowerShell: running scripts, cmdlets, the pipeline, variables, and writing your first scripts.
The basics of Bash shell scripting on Linux: writing a script, variables, conditions, loops, and running it.
How to run a PowerShell script automatically on a schedule using Windows Task Scheduler.
How cron works on Linux, how to read the cron schedule format, and how to schedule commands and scripts with crontab.