Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

How to uninstall Applications with PowerShell Script

Posted on 10/03/201817/08/2026 Christian By Christian No Comments on How to uninstall Applications with PowerShell Script
  1. Home
  2. Scripts
  3. How to uninstall Applications with PowerShell Script
uninstalling software

In this article, we will discuss how to uninstall Applications with PowerShell Script. In the realm of software management, harnessing the capabilities of PowerShell Script can be a game-changer. Please see How to remove WDS role via the GUI and PowerShell, how to Upgrade Microsoft Office 2019 to 2021 on Mac, and How to uninstall Microsoft SQL Server on Windows. However, When it comes to the task of application uninstallation, PowerShell Script emerges as a powerful ally.

Nonetheless, with command-line prowess and automation, it efficiently removes unwanted applications from your system. Whether a tech enthusiast or an IT professional, mastering app removal through PowerShell Script enhances system maintenance.

Also, see “Remove Office license file: How do you change the account that Office says it belongs to on a Mac“, and “How to install and update PowerShell version 7 on Windows and Linux“.

PowerShell Script for App removal

This is the simple command to execute this task. This command retrieves the installed application named “Software Name” using the Win32_Product class and then uninstalls it. It first searches for the application by matching its name and, once found, executes the uninstall method to remove it from the system.

$app = Get-WmiObject -Class Win32_Product | Where-Object {
$_.Name -match "Software Name"
}
$app.Uninstall()

Do not forget to replace the “Software Name” with your application name. Copy the above syntax to a text editor, e.g, notepad.

Please see how to How to uninstall installed Windows Update from Windows, and how to fix “Cross Domain Folders Access: Reference account is Locked out“.

Remove App

EmEditor is the application to uninstall. Execute it across multiple servers using AWS run command, avoiding restarts.

Screenshot of a code editor displaying a programming script with a highlighted line.

Open the PowerShell console and run the file from the location it is saved and run it. The below is the result that will be displayed

A screenshot of a Windows PowerShell interface displaying command line inputs and outputs, including various system variables and paths.

I hope you found this blog post on how to uninstall Applications with PowerShell Script helpful. If you have any questions, please let me know in the comment session.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Scripts Tags:Microsoft Windows, PowerShell

Post navigation

Previous Post: Configure WSUS Email Notification for Office365
Next Post: How to reset MySQL Root password

Related Posts

  • sdfgh
    Get a list of installed applications on Windows Scripts
  • windows 10 hert
    Windows Management Instrumentation Commands Scripts
  • powershell logo
    Cannot find the computer: Fix the following error occurred while using Kerberos authentication Scripts
  • SASS in VsCode
    How to Install SASS on VsCode Scripts
  • image 130
    How to fix the Security Database on the Server does not have a Computer Account for this Workstation Trust Relationship on Windows Server [Part 2] Scripts
  • powershell01
    WinRM and PSRemoting: Configure servers for remote access Scripts

More Related Articles

sdfgh Get a list of installed applications on Windows Scripts
windows 10 hert Windows Management Instrumentation Commands Scripts
powershell logo Cannot find the computer: Fix the following error occurred while using Kerberos authentication Scripts
SASS in VsCode How to Install SASS on VsCode Scripts
image 130 How to fix the Security Database on the Server does not have a Computer Account for this Workstation Trust Relationship on Windows Server [Part 2] Scripts
powershell01 WinRM and PSRemoting: Configure servers for remote access Scripts

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

veeaam100

Veeam Vanguard

  • Featured image Teams Whiteboard
    How to use Whiteboard in Microsoft Teams meetings Windows
  • Enable Hyper V on Windows 11 Create a VM with PowerShell
    Run Hyper-V on Windows 11: Convert Physical PC to Hyper-V VM Virtualization
  • Disable automatic updates
    Turn off Automatic Updates in Windows via Windows Registry and Group Policy Windows
  • Active Directory with IPMI for Out of Band Management
    Integrate Active Directory with IPMI for Out-of-Band Management Backup
  • maxresdefault
    How to delete Organizational Unit in Active Directory Windows Server
  • Deploy Web App from GitHub
    Deploy Code from GitHub to Azure Apps Services via the Command line AWS/Azure/OpenShift
  • Protecting DS923 NAS
    DSM Security: How to Protect Synology DS923+ NAS Reviews
  • Prevent the downloads of apps without password on App store
    Download Apps without passwords on App Store Mac

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,752 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.