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
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: |