|
|
|
@ -8593,7 +8593,7 @@ function RegistryBackup |
|
|
|
$Disable |
|
|
|
) |
|
|
|
|
|
|
|
Remove-ItemProperty -Path "HKLM:\SOFTWARE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Maintenance" -Name MaintenanceDisabled -Force -ErrorAction Ignore |
|
|
|
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Maintenance" -Name MaintenanceDisabled -Force -ErrorAction Ignore |
|
|
|
Get-ScheduledTask -TaskName RegIdleBackup -ErrorAction Ignore | Enable-ScheduledTask -ErrorAction Ignore |
|
|
|
|
|
|
|
switch ($PSCmdlet.ParameterSetName) |
|
|
|
|