A junior IT technician is tasked with creating a cross-platform script to gather system information, perform automated backups, and initiate updates on both Windows and Linux machines in a mixed environment. Which scripting language would be the most versatile and efficient choice for this complex task?
.bat
.py
.js
.sh