This short loop will reinstall all the default Windows 10 apps.
$pkgname = Get-AppxPackage -AllUsers | foreach { $_.packagefullname } foreach($name in $pkgname) { Add-AppxPackage -register "C:\Program Files\WindowsApps\$name\AppxManifest.xml" -DisableDevelopmentMode }