Skip to content

This collection includes a variety of useful PowerShell scripts designed to enhance productivity, automate tasks, and optimize system performance. Each script serves a unique purpose, from system cleanup to managing OneDrive storage.

License

Notifications You must be signed in to change notification settings

kasuken/PowerShell-Utility-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ PowerShell Utility Scripts

PowerShell MIT License GitHub stars

A curated collection of PowerShell scripts to boost productivity, automate repetitive tasks, and optimize system performance. From cleaning up your PC to generating system reports — this repo has you covered.

PowerShell Utility Scripts


📜 Scripts Overview

# Script Description Usage
1 Scheduled System Cleanup Cleans up temporary files, recycle bin, and browser caches. Keep your system clean and optimized.
2 Automated Backup of Important Folders Copies predefined folders (e.g., Documents) to external/cloud destinations. Automate backups to protect critical data.
3 Manage Startup Apps Lists and removes startup applications from registry & startup folders. Optimize boot time by disabling unnecessary apps.
4 Automated Shutdown or Sleep Mode Shuts down, restarts, or sleeps the system after inactivity or at scheduled times. Save energy and secure your system.
5 System Health Check Monitors CPU, RAM, and disk usage with a performance report. Identify bottlenecks and monitor resources.
6 Empty Clipboard History Clears current clipboard contents and history. Protect sensitive data.
7 Auto-Lock Screen After Inactivity Locks the screen after inactivity or at a scheduled time. Enhance security on shared systems.
8 Remove Local Version from OneDrive Removes synced OneDrive files, keeping them only online. Free up disk space without losing files.
9 Disk Usage Analyzer Scans directories and reports folder sizes. Find space-hogging folders easily.
10 Network Speed Test Utility Tests and logs upload/download speeds via API. Track network performance over time.
11 Windows Services Manager Lists services and allows interactive start/stop/restart. Manage Windows services efficiently.
12 Clear Microsoft Teams Cache Deletes Teams cache folders. Fix Teams issues (admin rights required).
13 Large Files Finder Finds large files with filters and optional CSV export. Free up space by locating big files.
14 Windows Update Checker & Installer Checks/downloads/installs Windows Updates (with reboot option). Keep Windows secure and up to date.
15 Wi-Fi Password Viewer Retrieves stored Wi-Fi SSIDs and passwords. Recover or document Wi-Fi credentials.
16 System Information Report Generator Creates detailed system reports in Markdown. Use for audits, troubleshooting, or documentation.

🚀 Getting Started

🔹 Run a Script

# Clone this repository
git clone https://github.com/kasuken/PowerShell-Utility-Scripts.git
cd PowerShell-Utility-Scripts

# Execute the desired script
./ScriptName.ps1

⏰ Automate with Task Scheduler

You can schedule scripts to run automatically with Task Scheduler:

  1. Press Win + R, type taskschd.msc, and press Enter.

  2. Select Create Task.

  3. In General:

    • Name the task.
    • Select Run whether user is logged on or not.
    • Check Run with highest privileges.
  4. In Triggers:

    • Add a new trigger (e.g., Daily at 9 AM).
  5. In Actions:

    • Program/script: powershell.exe

    • Arguments:

      -ExecutionPolicy Bypass -File "C:\Path\To\ScriptName.ps1"
  6. Save, provide credentials, and you’re done! ✅


🤝 Contributing

Contributions are always welcome! 💡

  • Fork this repo
  • Create a feature branch
  • Commit your changes
  • Submit a Pull Request

Got an idea for a new script? Open an issue.


📝 License

This project is licensed under the MIT License. See the LICENSE file for more details.


⭐ Acknowledgments

Thanks for checking out PowerShell Utility Scripts! If you find this project helpful, please give it a ⭐ and share it with others.


Made with 💙 in PowerShell

About

This collection includes a variety of useful PowerShell scripts designed to enhance productivity, automate tasks, and optimize system performance. Each script serves a unique purpose, from system cleanup to managing OneDrive storage.

Topics

Resources

License

Stars

Watchers

Forks