4.8 - Scripting Use Cases Flashcards
1
Q
Basic automation
A
- Automate tasks
– You don’t have to be there
– Solve problems in your sleep
– Monitor and resolve problems before they happen - The need for speed
– The script is as fast as the computer
– No typing or delays
– No human error - Automate mundane tasks
– You can do something more creative
2
Q
Restarting machines
A
- Turning it off and back on again
– An important task - Application updates
– Some apps require a system restart - Security patches
– Deploy overnight and reboot the system - Troubleshooting
– The once-a-day restart
– You may not have physical access
3
Q
Remapping network drives
A
- Shared network drives
– The link between the user and their data - A common task during startup
– Login scripts provide the connection - Automate software changes
– Map a drive to the repository - Add or move user data
– Automate the process
4
Q
Application installations
A
- Install applications automatically
– Don’t walk a flash drive to every computer
– Many applications have an automated
installation process
– Scripting can turn this into a hands-off process - On-demand or automatic installation scripts
– Map the application installation drive
– Install the application without user prompts
– Disconnect the drive
– Restart the system
5
Q
Automated backups
A
- Usually performed at night or during off-hours
– Get a copy of all important data - Time consuming
– File systems, network connections - Script an automated backup process
– Works while you sleep
– Don’t have to think about it
6
Q
Information gathering
A
- Get specific information from a remote device
– Monitoring and reporting - Performance monitoring
– Confirm proper operation of a device - Inventory management
– Check the hardware or software configuration - Security and vulnerability checks
– Check for certain application or library versions
– Plan for the latest patches
7
Q
Initiating updates
A
- Nothing ever stays the same
– Constant changes and updates - Operating systems
– New features
– Security patches - Device drivers
– Bug fixes
– New hardware or OS support - Applications
– New version rollouts
8
Q
Other scripting considerations
A
- Unintentionally introducing malware
– Make sure you know what you’re installing - Inadvertently changing system settings
– Test all updates
– Track the file and registry changes - Browser or system crashes
– Mishandling of resources
– A single character in a script can have
unintended consequences
– Always have a backup
– Always test before deployment