initial commit
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
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 }
|
||||||
Reference in New Issue
Block a user