Weekly Maintenance

This PowerShell Script does the weekly maintenance for you and all the devices in your domain. The Weekly Maintenance includes creating a restore point, deleting temp files, emptying temp folders and run a fun disk cleanup.

Syntax

#Create Restore Point
#Delete Temp Files
#Empty Temp Folders
#Run Full Disk Cleanup unattended

# 1.creating the restore point
Checkpoint-Computer -Description “Weekly Maintanence” -RestorePointType “MODIFY_SETTINGS”
Write-Host “System Restore Point created successfully”

#3.Delete Temp Files

Download Full Script

Share Script:

Purpose:Weekly Maintenance of a single device or all devices in the domain
Modification:-
Type:PowerShell (.ps1)
Compatibility:Run with PowerShell
Tags:weekly maintenance, delete temp files, disk cleanup
Reference link: