If ( $(Get-ComputerRestorePoint) -ne $null ) { LogMsg "System Restore is already enabled" ; Exit }
LogMsg "Enabling System Restore"
Try { Enable-ComputerRestore -Drive $Env:SystemDrive }
Catch { LogErr $_.Exception.Message }