Windows & Linux Sysadmin Toolkit
Personal system administration scripts for Windows and Linux. SSH configuration, monitoring, backup, and maintenance automation.
Note : Security hardening scripts are in defensive-toolkit .
git clone https://github.com/Dashtid/sysadmin-toolkit.git
cd sysadmin-toolkit
cp .env.example .env.local # Configure your values
Category
Script
Purpose
Monitoring
Get-SystemPerformance.ps1
CPU, RAM, disk, network metrics with Prometheus export
Watch-ServiceHealth.ps1
Service monitoring with auto-restart
Test-NetworkHealth.ps1
Connectivity, DNS, port testing
Get-EventLogAnalysis.ps1
Security and error log analysis
Get-ApplicationHealth.ps1
Application crash and version monitoring
Backup
Backup-UserData.ps1
User documents with compression
Backup-BrowserProfiles.ps1
Browser bookmarks and settings
Backup-DeveloperEnvironment.ps1
VSCode, Terminal, Git, SSH configs
Export-SystemState.ps1
Drivers, registry, network, services
Test-BackupIntegrity.ps1
Backup validation and restore testing
SSH
setup-ssh-agent-access.ps1
Windows SSH agent for Git Bash
gitea-tunnel-manager.ps1
Persistent SSH tunnels
Setup
fresh-windows-setup.ps1
Automated Windows 11 setup
export-current-packages.ps1
Export Winget/Chocolatey packages
Development
Test-DevEnvironment.ps1
Validate dev tool installation
Manage-Docker.ps1
Docker Desktop management
Manage-WSL.ps1
WSL2 backup and configuration
Maintenance
system-updates.ps1
Windows Update automation
Restore-PreviousState.ps1
System restore from backup
Troubleshooting
Repair-CommonIssues.ps1
Fix DNS, network, update issues
Security
Get-UserAccountAudit.ps1
User and admin account audit
Network
Manage-VPN.ps1
VPN connection management
Reporting
Get-SystemReport.ps1
Comprehensive system report
Platform
Requirements
Windows
PowerShell 7+, OpenSSH Client enabled
Linux
Bash 4.0+, sudo access
MIT License - See LICENSE
Author : David Dashti | Version : 2.1.0 | Updated : 2025-12-26