Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to full Chocolatey, use ScheduledJob
Instead of depending on OneGet's unsupported, years out of date implementation, use that only to get the up-to-date version of Chocolatey. Schedule daily update to run as a PSScheduled Job, enforce that it should run elevated and let the implicit credentials used when executing the script authorize the job where the previous script threw an error if there was no local user with the explicitly configured name of "admin". This method requires PS 5.0 and up but since this script is for Windows 10 that is not a concern.
- Loading branch information