49 lines
801 B
Markdown
49 lines
801 B
Markdown
# Lab OPS-8: Script Recognition
|
|
|
|
Domain:
|
|
- 4.0 Operational Procedures
|
|
|
|
Works on:
|
|
- Windows
|
|
- Linux
|
|
- Optional macOS
|
|
|
|
## Goal
|
|
|
|
Recognize common script types and safe script habits.
|
|
|
|
## Part 1: Match Extensions
|
|
|
|
Match the extension to the common language:
|
|
|
|
1. `.ps1`
|
|
2. `.bat`
|
|
3. `.sh`
|
|
4. `.py`
|
|
5. `.js`
|
|
6. `.vbs`
|
|
|
|
## Part 2: Safe Review
|
|
|
|
Before running a script, record:
|
|
- Source:
|
|
- Purpose:
|
|
- Systems affected:
|
|
- Required permissions:
|
|
- Backup or rollback:
|
|
- Test result:
|
|
|
|
## Part 3: Use Case Practice
|
|
|
|
Choose a script use case:
|
|
|
|
1. Install the same app on 40 PCs.
|
|
2. Collect hostname and IP address.
|
|
3. Restart a service nightly.
|
|
4. Copy user files to backup storage.
|
|
|
|
## What You Should Learn
|
|
|
|
- Scripts can automate support tasks.
|
|
- Unknown scripts should be reviewed and tested before execution.
|
|
|