StudyToCert

All certifications / A+ Core 2 / Lessons

CompTIA A+ Core 2 220-1202 · Domain 4: Operational procedures

Scripting basics: .bat, .ps1, .vbs, .sh, .js, .py; use cases (automation, restarts, drive mapping, installs, backups, updates) and risks

▶ Watch the overview video

Last reviewed September 30, 2026 · Leer en español

A script is a plain-text file of commands that an interpreter runs in order. Unlike a compiled program, you can open a script in a text editor, read it, and change it. Scripts let technicians automate repetitive tasks, apply the same configuration to many machines and avoid manual mistakes. The A+ exam does not expect you to write complex code, but it does expect you to recognize common script types by their extension, know what they are used for, recognize basic building blocks, and understand the risks.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 7 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study A+ Core 2 for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the A+ Core 2 study plan