wingetautoupdate/uninstall.bat

3 lines
219 B
Batchfile
Raw Normal View History

2022-04-02 22:29:35 +00:00
@echo off
powershell -Command "Get-ChildItem -Path '%~dp0' -Recurse | Unblock-File; Start-Process powershell.exe -Argument '-executionpolicy bypass -file """%~dp0Winget-AutoUpdate-Install.ps1"" -Uninstall'" -Verb RunAs