4.8 Basics of Scripting Flashcards
Script File Types - .bat
Windows - batch files, script information on the command line
Script File Types - .ps1
Windows - powershell administrator command line
Script File Types - .vbs
Windows - Visual basic scripting, general purpose
Script File Types - .sh
Linux - shell script
Script File Types - .js
Java Script - scripting inside a browser (diff from Java language)
Script File Types - .py
Python scripting
Use Cases for Scripting - Basic automation
Automate task
Use Cases for Scripting - Restarting machines
Script for restarting and updating a machine, could be automated if needed
Use Cases for Scripting - Remapping network drives
Automate the mapping to a drive when someone logs in
Use Cases for Scripting - Installation of applications
Automate the installation of applications
Use Cases for Scripting - Automated backups
Automate backups
Use Cases for Scripting - Gathering of information/data
Automate the gathering of information & data
Use Cases for Scripting - Initiating updates
Automate updates
Other Considerations When Using Scripts - Unintentionally introducing
malware
Scripts should be tested and checked for malware before rolling out
Other Considerations When Using Scripts - Inadvertently changing system settings
Scripts should be tested and checked for malware before rolling out