Skip to content

One Zero One

Code for Your Node

  • Home
  • Posts
  • Contact

Removing AppX Packages with PowerShell

  1. Home
  2. Removing AppX Packages with PowerShell
  • Andy Lievertz
  • February 25, 2021
  • 0
Posted in Automation, PowerShell, Scripting, Systems Administration, WindowsTagged in appxpackage, appxprovisionedpackage, microsoft, windows

Uninstalling an AppxPackage will remove it from the current user’s start menu and applications list, but it will continue to appear for other users unless the AppxProvisionedPackage is also removed.

Use ozo-remove-appx-packages in an Administrative PowerShell to loop through a list of AppxPackages and (a) remove each package for the current user and (b) remove corresponding AppxProvisionedPackage (when found).

Relevant Links

  • Remove-AppxPackage (Appx) | Microsoft Docs
  • Remove-AppxProvisionedPackage (DISM) | Microsoft Docs
  • Share:  
  • Facebook
  • Twitter
  • Google+

Andy Lievertz

View all posts by Andy Lievertz | Website

Previous post

Adding Registry Keys and Values with PowerShell

Next post

Automating Rdiff-backup with Bash

Copyright © 2023 | All Rights Reserved.

Loading