Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/galactic-plane/windragon
- Owner: galactic-plane
- License: gpl-3.0
- Created: 2024-11-13T17:59:55.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-13T19:18:32.000Z (about 2 months ago)
- Last Synced: 2024-11-13T19:30:34.831Z (about 2 months ago)
- Topics: maintenance, windows-11
- Language: PowerShell
- Homepage:
- Size: 258 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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