Browse Source
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.pull/90/head
Chirishman
8 years ago
committed by
GitHub
1 changed files with 15 additions and 6 deletions
Loading…
Reference in new issue