A very dirty oneliner to remove Windows Store Apps from Windows 10 :
Get-AppxPackage | where { $_.name -notmatch "Microsoft.WindowsStore" -and $_.name -notmatch "Microsoft.WindowsCalculator" } | remove-appxpackage -ea silentlycontinue | out-null
Scripts, oneliners and various technical articles
A very dirty oneliner to remove Windows Store Apps from Windows 10 :
Get-AppxPackage | where { $_.name -notmatch "Microsoft.WindowsStore" -and $_.name -notmatch "Microsoft.WindowsCalculator" } | remove-appxpackage -ea silentlycontinue | out-null