Skip to content

sgill3077/automation-script-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚙️ Automation Script Hub

License: MIT Shell PowerShell Status GitHub stars Last Commit Repo Size Issues Pull Requests

Automation Script Hub is a cross-platform toolkit of modular scripts built for automating and simplifying routine system administration tasks — designed for DevOps engineers, SysAdmins, and power users on both Linux and Windows.


🔧 Features

  • Modular and scalable script design
  • Interactive CLI menus for both Bash and PowerShell
  • Centralized logging for auditing and debugging
  • Robust error handling and status reporting
  • Lightweight with no external dependencies

🚀 Use Cases

  • Auto-patching Linux and Windows servers
  • Restarting and monitoring stuck services
  • Cleaning temporary files and logs
  • Running system health checks and diagnostics

💻 Tech Stack

  • Linux: Bash, system utilities (cron, systemctl, journalctl)
  • Windows: PowerShell (cross-compatible with PowerShell Core)
  • Version Control: Git

📁 Directory Structure

automation-script-hub/
├── linux/                      # Linux automation scripts (Bash)
│   ├── patch_manager.sh
│   ├── service_recovery.sh
│   ├── log_cleaner.sh
│   ├── health_check.sh
│   └── logs/                   # Linux script logs
├── windows/                    # Windows automation scripts (PowerShell)
│   ├── cli.ps1                 # CLI menu entry point
│   ├── patch_system.ps1
│   ├── restart_services.ps1
│   ├── clean_logs.ps1
│   ├── utils.ps1               # Shared functions/utilities
│   └── logs/                   # Windows script logs
├── setup.sh                    # Optional Linux setup script
├── LICENSE
└── README.md

▶️ Getting Started

🔹 On Linux

git clone https://github.com/sgill3077/automation-script-hub.git
cd automation-script-hub/linux
chmod +x *.sh
./patch_manager.sh

🔹 On Windows

Launch PowerShell as Administrator and run:

git clone https://github.com/sgill3077/automation-script-hub.git
cd automation-script-hub\windows
.\cli.ps1

🧪 Example Linux Output

$ ./patch_manager.sh
[INFO] Checking for available updates...
[INFO] Installing security updates...
[OK] System successfully patched.

📈 Roadmap

  • Add macOS support
  • Email/Slack alerts for script output
  • Web dashboard or GUI wrapper (e.g. YAD, Electron)
  • Unit testing for core utilities

🤝 Contributing

Pull requests are welcome! For large changes, please open an issue first to discuss your ideas. All contributions must follow the MIT License.


📄 License

Distributed under the MIT License. See LICENSE for full text.

About

A personal toolkit of automation scripts for system administration tasks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published