Remove Windows Store apps

Original found via the MS forums: https://www.kapilarya.com/how-to-uninstall-built-in-apps-in-windows-10

Find your apps here:

Get-AppxProvisionedPackage -online | Format-Table -Property DisplayName
Get-AppxPackage -AllUsers | Format-Table -Property Name

And here is the code to remove them:

$AppsList = "Microsoft.MSPaint", # Microsoft Paint 
"Microsoft.Microsoft3DViewer", # Microsoft 3D Viewer
"Microsoft.Print3D",
"Microsoft.3DBuilder"
 
ForEach ($App in $AppsList)
{
$Packages = Get-AppxPackage -AllUsers | Where-Object {$_.Name -eq $App}
if ($Packages -ne $null)
{
"Removing Appx Package: $App"
foreach ($Package in $Packages) { Remove-AppxPackage -AllUsers -package $Package.PackageFullName }
}
else { "Unable to find package: $App" }
$ProvisionedPackage = Get-AppxProvisionedPackage -online | Where-Object {$_.displayName -eq $App}
if ($ProvisionedPackage -ne $null)
{
"Removing Appx Provisioned Package: $App"
remove-AppxProvisionedPackage -AllUsers -online -packagename $ProvisionedPackage.PackageName
}
else { "Unable to find provisioned package: $App" }
}

Copy and paste that code into an admin powershell window