Introduction to Basic Scripting Techniques Flashcards
Why use scripting?
Use cases for scripting include:
Basic automation.
Restarting machines.
Remapping network drives.
Installation of applications.
Gathering of information/data.
Script file types
.bat: Windows Batch file.
Demonstration of automated backups.
.ps1: PowerShell scripting file: Demonstration of initiating updates.
.vbs: Visual Basic Scripting file.
.sh: Shell scripting file.
Demonstration: System information gathering.
.js: JavaScript runs instruction in webpages.
.py: Python file used for system scripting.
Other considerations when using scripts
Unintentionally introducing malware.
Inadvertently changing system settings.
Browser or system crashes due to mishandling of resources.