Skip to content

Instantly share code, notes, and snippets.

@dieechtenilente
Last active September 1, 2017 18:16
Show Gist options
  • Save dieechtenilente/011900b8d91ccac7da2b2afef2a63018 to your computer and use it in GitHub Desktop.
Save dieechtenilente/011900b8d91ccac7da2b2afef2a63018 to your computer and use it in GitHub Desktop.

Restore all Windows 10 Apps (Including Spy-shit)

$ Get-AppxPackage -allusers | foreach {Add-AppxPackage -register "$($_.InstallLocation)\appxmanifest.xml" -DisableDevelopmentMode}

List all Windows 10 Apps

$ Get-AppxPackage | Select Name, PackageFullName, InstallLocation

Install App by PackageFullName

$ Add-AppxPackage -register "C:\Program Files\WindowsApps\<PackageFullName>\appxmanifest.xml" -DisableDevelopmentMode

Reinstall Store Application

Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment