A PowerShell script for performing system maintenance tasks such as creating system restore points, emptying recycle bins, deleting temporary files, and removing user profiles.
The PowerShell System Maintenance Tool is a script that automates common system maintenance tasks to help keep your system clean and optimized. It provides a graphical user interface (GUI) for easy execution of tasks such as creating system restore points, emptying recycle bins, deleting temporary files, and removing user profiles.
- Create system restore points to easily revert system changes.
- Empty recycle bins on the C drive to free up disk space.
- Delete temporary files from the
%TEMP%
directory. - Remove user profiles and their corresponding folders from the system.
- Graphical user interface for convenient execution of tasks.
- Clone the repository or download the script file to your local machine.
- Ensure that you have PowerShell installed on your system.
- Open a PowerShell session and navigate to the directory where the script is located.
- Run the script using the command
.\SystemMaintenanceTool.ps1
.
- Launch the script by running
.\SystemMaintenanceTool.ps1
in a PowerShell session. - The GUI will be displayed, showing the available maintenance tasks.
- Click on the respective buttons to perform the desired tasks:
- Create Restore Point: Creates a system restore point.
- Empty Recycle Bin: Empties the recycle bins on the C drive.
- Delete Temp Files: Deletes temporary files from the
%TEMP%
directory. - Remove Profile: Removes selected user profiles and their corresponding folders.
- After executing a task, a message box will be displayed with the result.
Contributions to the PowerShell System Maintenance Tool are welcome! If you would like to contribute, please follow these guidelines:
- Fork the repository and create your branch from
main
. - Make your changes and test them thoroughly.
- Ensure that your code follows PowerShell best practices and is well-documented.
- Submit a pull request, describing your changes and the problem they solve.
- Wait for feedback and address any requested changes.
This project is licensed under the GNU General Public License v3.0.