w10install/tools/remove-apps.cmd

13 lines
162 B
Batchfile
Raw Normal View History

2023-01-01 17:49:33 +01:00
@echo off
IF %1.==. GOTO USAGE
powershell -command "Get-AppxPackage -AllUsers *%1* | Remove-AppxPackage"
GOTO END
:USAGE
echo "usage: %0 <Packagename>"
:END