wingetautoupdate/install.bat

6 lines
331 B
Batchfile
Raw Normal View History

2022-01-27 20:59:33 +00:00
@echo off
2022-10-12 20:07:47 +00:00
2022-10-24 23:51:03 +00:00
SET arguments=-UpdatesAtLogon -UpdatesInterval Weekly -StartMenuShortcut -InstallUserContext
2022-10-12 20:07:47 +00:00
2022-10-12 20:15:13 +00:00
powershell -Command "Get-ChildItem -Path '%~dp0' -Recurse | Unblock-File; Start-Process powershell.exe -Argument '-noprofile -executionpolicy bypass -file """%~dp0Winget-AutoUpdate-Install.ps1"" %arguments%'" -Verb RunAs