Step-By-Step: Removing Windows 8.1 Modern Apps with PowerShell

Step-By-Step: Removing Windows 8.1 Modern Apps with PowerShell

  • Comments 1
  • Likes

PowerShell, when harnessed properly, can become a great tool for IT professionals to save time in completing day to day activities.  Another great use of PowerShell however, is correcting corruptions or errors sometimes caused by GUI based apps.  In this Step-By-Step post, the example given is that of a application that should have been uninstalled via the use of the GUI interface, yet still remains on the Start Screen.  The PowerShell session to be invoked to correct this issue will actually be run directly on the Windows 8.1 machine.

Step 1: Load PowerShell as an Administrator

This step can be completed in many ways.  In this example, PowerShell has been pinned to the Start Screen

  1. Right-click the PowerShell Tile
  2. Select Run as administrator on the now visible Options Bar below

Step 2: Finding the Application to Remove

  1. In the PowerShell Console, enter the following: Get-AppxPackage

    This will provide a full listing of all the modern apps installed on this machine. Alternatively, should you know of partially know the name of the application in question, the following could be used: Get-AppxPackage - Name *insert name here


Step 3: Removing the Troublesome Application

  1. Copy the value of the PackageFullName variable.  In this example it is RyersonUniversity.GoMobile_1.0.0.13_x64__qkhm82779sy0y
  2. Next enter the following: remove-appxpackage and include the full package name.  This example would require the following remove-appxpackage RyersonUniversity.GoMobile_1.0.0.13_x64__qkhm82779sy0y - Confirm

    Note: -Confirm 
    can be added to the end of the command to provide a confirmation from the individual running the command to ensure the task is to be completed.

Now the troublesome modern application has been removed from the machine.  Learn more about harnessing PowerShell to automate tasks in both client and server machines via the Microsoft Virtual Academy course entitled: Advanced Tools & Scripting with PowerShell 3.0 Jump Start.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Remove them all in one step: Get-AppxPackage | Remove-AppxPackage