Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/galactic-plane/windragon

This script provides an interactive menu-driven interface for performing various maintenance tasks on a Windows 11 machine.
https://github.com/galactic-plane/windragon

maintenance windows-11

Last synced: about 2 months ago
JSON representation

This script provides an interactive menu-driven interface for performing various maintenance tasks on a Windows 11 machine.

Awesome Lists containing this project

README

        

![WinDragon](/img/windragon.jpeg)

# ๐Ÿ‰ WinDragon Maintenance Script - vBeta

This script provides an interactive menu-driven interface for performing various maintenance tasks on a Windows machine. Tasks include backup, repair, cleanup, drive optimization, or all tasks sequentially.

## ๐Ÿ–ฅ๏ธ Supported Operating Systems
- Windows 11

**Note:** This script relies on PowerShell commands and tools like DISM, Robocopy, and SFC, which are supported on the above-listed versions of Windows.

## ๐Ÿš€ How to Run the Script
1. Open PowerShell as an Administrator.
2. Navigate to the directory where this script is located.
- Use the `cd` command to change directories. Example: `cd C:\path\to\script`
3. Run the script by typing: `.\winDragon.ps1`
4. Follow the interactive prompts to select the tasks you wish to perform.

**Tip:** It is best to run this script from a USB thumb drive to ensure that the script can access all necessary files without restrictions.

## ๐Ÿ“‹ Requirements
- PowerShell 7.4.6 or newer
- Administrator privileges to perform system-level operations like repair, cleanup, and optimization.

## ๐ŸŒŸ Features
- **๐Ÿ”„ Mirror Backup:** Uses Robocopy to create a mirror backup of specified directories.
- **๐Ÿ”ง Repair Tasks:** Utilizes DISM and SFC to check and repair system health.
- **๐Ÿ“ฆ Update Installed Software:** Updates all installed software using WinGet.
- **๐Ÿงน Cleanup Tasks:** Performs advanced disk cleanup using Windows Clean Manager.
- **๐Ÿ’ฝ Drive Optimization:** Optimizes SSDs and HDDs using appropriate methods.
- **โ„น๏ธ System Information:** Collects and displays detailed system information.
- **๐Ÿ“Š Event Log Analysis:** Analyzes system event logs for errors and warnings.

## ๐Ÿ”ง Functions
### ๐Ÿ‰ Show-Dragon
Displays an ASCII art dragon.

### ๐Ÿ’ฌ Show-Message
Displays a message with a decorative border in yellow color.

### โŒ Show-Error
Displays an error message with a decorative border in red color.

### ๐Ÿ“‹ Show-Menu
Displays a task menu for the user to select from various maintenance tasks.

### ๐Ÿ“‚ Get-BackupPaths
Prompts the user to enter the source and destination directories for a backup operation.

### ๐Ÿ› ๏ธ Catcher
Handles errors that occur during various tasks and collects those errors for a summary report.

### ๐Ÿ“ Write-Log
Logs messages to a specified log file located in a dated folder.

### ๐Ÿ›ก๏ธ Start-DefenderScan
Runs a virus scan using Windows Defender based on the current status.

### ๐Ÿ”„ Start-Backup
Initiates a backup operation using Robocopy.

### ๐Ÿ”ง Start-Repair
Performs a series of system repair tasks using various system tools.

### ๐Ÿ“ฆ Start-WinGetUpdate
Installs or updates WinGet and updates all installed packages.

### ๐Ÿงน Start-Cleanup
Executes an advanced disk cleanup using the built-in Windows tool.

### ๐Ÿ’ฝ Start-Optimization
Performs disk optimization on all physical drives detected by the system.

### โ„น๏ธ Start-PCInfo
Collects and displays detailed information about the computer's hardware and system configuration.

### ๐Ÿ” Search-OnlineForInfo
Generates a Bing search URL for the given information.

### ๐Ÿ“Š Start-EventLogAnalysis
Analyzes system event logs for errors and warnings.

## โš ๏ธ Disclaimer
You are running this script at your own risk. Please ensure you have backups of your important data before running any maintenance tasks.

## ๐Ÿ“œ License
This project is licensed under the GPL-3.0 License - see the [LICENSE](LICENSE) file for details.

## ๐Ÿ‘ค Author
Daniel Penrod