Introduction to Basic Scripting Techniques Flashcards

1
Q

Why use scripting?

A

Use cases for scripting include:

Basic automation.
Restarting machines.
Remapping network drives.
Installation of applications.
Gathering of information/data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Script file types

A

.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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Other considerations when using scripts

A

Unintentionally introducing malware.
Inadvertently changing system settings.
Browser or system crashes due to mishandling of resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly