Here's what I normally run...
CD %SystemRoot%\system32\WindowsPowerShell\v1.0\
powershell.exe "Set-ExecutionPolicy Unrestricted -Force"
powershell.exe "Get-AppXPackage | where-object {$_.packagename -notlike '*Microsoft.WindowsStore*'} | where-object {$_.packagename -notlike '*Microsoft.WindowsCalculator*'} | Remove-AppXPackage"
powershell.exe "Get-AppxProvisionedPackage -online | where-object {$_.packagename -notlike '*Microsoft.WindowsStore*'} | where-object {$_.packagename -notlike '*Microsoft.WindowsCalculator*'} | Remove-AppxProvisionedPackage -online"
powershell.exe "Set-ExecutionPolicy Restricted -Force"