View installed apps in Windows 10 and remove them with Powershell (admin-mode)

To get a list of the package names of all installed apps for the current user, you can run the following command:

Get-AppxPackage | % {if (!($_.IsFramework -or $_.PublisherId -eq "cw5n1h2txyewy")) {$_}} | select PackageFullName

If you only want to uninstall a particular app, you can copy the package name from the above list and execute the next command:

Remove-AppXPackage <PackageFullName>

Removing provisioned apps

If you want to ensure that Windows only installs a certain set of apps or no apps at all when a user logs on for the first time, you have to remove all provisioned apps—that is, you have to unprovision the appx packages.

Before you delete the provisioned apps, you might want to get a list first:

Get-AppXProvisionedPackage -Online | Select PackageName

At an elevated PowerShell prompt, you can remove the apps that you don’t want to have in your reference image with this command:

Remove-AppXProvisionedPackage -Online -PackageName <PackageName>

And, to remove all provisioned apps, you can use this command:

Get-AppXProvisionedPackage -Online | Remove-AppxProvisionedPackage -Online

From now on, if a new user logs on to the machine, the only app that will be installed is Edge.

Note that, unlike in Windows 8, in Windows 10 this command also unprovisions the Windows Store app !!