gc computers.txt | %{$c = $_; ..\PsExec.exe -s -d -n 5 \\$c cmd /c 'Uninstall_IE10.cmd'}

 

Содержимое Uninstall_IE10.cmd:

FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*10.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /quiet /norestart

 

Содержимое Uninstall_IE11.cmd:

 

FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-*11.*.mum /c "cmd /c echo Uninstalling package @fname && start /w pkgmgr /up:@fname /quiet /norestart