Initial Core 2 study project

This commit is contained in:
Ken Patmonk 2026-06-11 20:17:44 -05:00
commit 10de90430c
120 changed files with 12696 additions and 0 deletions

View file

@ -0,0 +1,59 @@
# OPS-8: Scripting Basics
Status: not started
Domain:
- 4.0 Operational Procedures
Objective alignment:
- 4.8 Scripting languages, use cases, and risks
## What You Need To Know
Scripts automate repeated tasks, but they can also break systems quickly.
Script types:
- `.bat`
- `.ps1`
- `.vbs`
- `.sh`
- `.js`
- `.py`
Use cases:
- Automation
- Restarting machines
- Remapping drives
- Application installs
- Backups
- Data gathering
- Updates
Risks:
- Introducing malware
- Changing system settings
- Deleting data
- Crashing browsers or systems
- Mishandling resources
## Memory Trick
Use **A-R-I-B-D**:
- **A**utomate
- **R**estart
- **I**nstall
- **B**ack up
- **D**ata gathering
Shortcut:
- **Scripts are force multipliers for both fixes and mistakes.**
## Exam Clues
- PowerShell scripts use `.ps1`.
- Bash shell scripts commonly use `.sh`.
- Batch files use `.bat`.
- Test scripts before broad deployment.
- Review scripts from unknown sources before running.