Removing Windows 10 apps

I came accross this TechNet article how to remove WIN 10 apps.

I found it very useful because of standard apps that where installed and never used.remove win 10 apps

https://gallery.technet.microsoft.com/Removing-Built-in-apps-65dc387b#content

Youtube: https://www.youtube.com/watch?v=pxectRu8Xgo

.DESCRIPTION
Removing Built-in apps from Windows 10 / Windows 8.1 / Windows 8
.PARAMETER
PathtoWim – Path to install.wim
select – Enable
.EXAMPLE
.\removeapps.ps1 -pathtowim c:\10\install.wim
.\removeapps.ps1 -pathtowim c:\10\install.wim -selectapps $true
.\removeapps.ps1 -pathtowim c:\10\install.wim -select $true -index 2

I had an issue regarding the DISM version. It was solved with this procedure

I found my issue – the environment PATH for PowerShell was looking at the old DISM toolkit and importing the old modules.

Solution, non-persistent:

At PS admin prompt

PS C:\Windows\system32> $env:path = “C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM”

PS C:\Windows\system32> import-module “C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM”

PS C:\Windows\system32> dism /?