Select Page

Required Files: None


This runs the Powershell command “Checkpoint-Computer” which creates a system restore point. If it fails it will RMM-Alert you.


 

Import-Module $env:SyncroModule
 
try { 
    Enable-ComputerRestore -Drive "C:\"
    Checkpoint-Computer -Description "Syncro Manual Restore Point" 
}
catch { 
    write-host "Error occured: $error"
    Rmm-Alert -Category 'command_failed' -Body "An important script failed, Create Restore Point. $error"
}
if (!$error) {
    "Restore Point was created."
} else {
    "Restore Point had an unknown problem. Maybe it's not enabled?"
}