Advertisement
Oscaron

Grid-View Win 10 Appx Removal

Oct 30th, 2018
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. # Src: https://virtuallyinclined.com/2018/02/10/windows-10-appx-removal-script-update/
  2. # Remember to 'set-executionpolicy unrestricted' and 'set-executionpolicy restricted' after
  3.  
  4. Import-Module AppX
  5. Import-Module Dism
  6.  
  7. Write-Warning "Select AppX Packages to remove..."
  8. Get-AppxPackage | Out-GridView -Title "Select AppX Packages to remove" -PassThru | Remove-AppxPackage
  9.  
  10. Write-Warning "Select AppX Provisioning Packages to remove..."
  11. Get-AppxProvisionedPackage -Online | Out-GridView -Title "Select AppX Provisioned Packages to remove" -PassThru | Remove-AppxProvisionedPackage -Online
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement