Skip to content

A Powershell Script that can check which user accounts are active in AD and show as red. You can then select the user accounts and delete them from the local machine

License

Notifications You must be signed in to change notification settings

TVDOfficial/CleanupandRecoveryPro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

PowerShell System Maintenance Tool

A PowerShell script for performing system maintenance tasks such as creating system restore points, emptying recycle bins, deleting temporary files, and removing user profiles.

Table of Contents

About

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.

Features

  • 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.

Installation

  1. Clone the repository or download the script file to your local machine.
  2. Ensure that you have PowerShell installed on your system.
  3. Open a PowerShell session and navigate to the directory where the script is located.
  4. Run the script using the command .\SystemMaintenanceTool.ps1.

Usage

  • 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.

Contributing

Contributions to the PowerShell System Maintenance Tool are welcome! If you would like to contribute, please follow these guidelines:

  1. Fork the repository and create your branch from main.
  2. Make your changes and test them thoroughly.
  3. Ensure that your code follows PowerShell best practices and is well-documented.
  4. Submit a pull request, describing your changes and the problem they solve.
  5. Wait for feedback and address any requested changes.

License

This project is licensed under the GNU General Public License v3.0.


Screenshots:

image

About

A Powershell Script that can check which user accounts are active in AD and show as red. You can then select the user accounts and delete them from the local machine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published