Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Scripts » How to uninstall Applications with PowerShell Script
  • Feature Image DNF vs APT
    What are the differences between dnf and apt package managers? Linux
  • Internet Explorer
    How to uninstall Internet Explorer from your Windows Device Windows
  • WinRM and Kerberos Delegation troubleshooting
    Troubleshooting WinRM and Kerberos Delegation for WAC Network | Monitoring
  • Root
    Change your root password: Manage the root user on your macOS Mac
  • microsoft confirms some pcs freeze after windows 10 2
    Information on BOOTP Vendor Extensions and DHCP Options Windows Server
  • HyperV and vSwitch creation
    Install HyperV and Configure vSwitch on Windows Server with PowerShell Virtualization
  • image 64
    Windows Local Account Authorization and Access Control Windows
  • delete5
    How to Delete Diagnostic Data in Windows 10 and Windows 11 Windows

How to uninstall Applications with PowerShell Script

Posted on 10/03/201810/10/2024 Christian By Christian No Comments on 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.

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

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.

5/5 - (1 vote)

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

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
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

  • Azure App Service
    How to Restore Deleted Azure App Service Using PowerShell Automation
  • wacxx
    Test Network Connection to Windows Admin Center Gateway Scripts
  • Featured image batch file.
    Retrieve Recent Windows Update: How to create batch script files Scripts
  • windows powershell thumbnail
    Unable to uninstall AppX? How to uninstall builtin programs using PowerShell in Windows 10 Scripts
  • powershell logo
    Cannot find the computer: Fix the following error occurred while using Kerberos authentication Scripts
  • powershell01 1
    Create a self-signed certificate and export it in PFX format via PowerShell [Part 1] Scripts

More Related Articles

Azure App Service How to Restore Deleted Azure App Service Using PowerShell Automation
wacxx Test Network Connection to Windows Admin Center Gateway Scripts
Featured image batch file. Retrieve Recent Windows Update: How to create batch script files Scripts
windows powershell thumbnail Unable to uninstall AppX? How to uninstall builtin programs using PowerShell in Windows 10 Scripts
powershell logo Cannot find the computer: Fix the following error occurred while using Kerberos authentication Scripts
powershell01 1 Create a self-signed certificate and export it in PFX format via PowerShell [Part 1] Scripts

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Feature Image DNF vs APT
    What are the differences between dnf and apt package managers? Linux
  • Internet Explorer
    How to uninstall Internet Explorer from your Windows Device Windows
  • WinRM and Kerberos Delegation troubleshooting
    Troubleshooting WinRM and Kerberos Delegation for WAC Network | Monitoring
  • Root
    Change your root password: Manage the root user on your macOS Mac
  • microsoft confirms some pcs freeze after windows 10 2
    Information on BOOTP Vendor Extensions and DHCP Options Windows Server
  • HyperV and vSwitch creation
    Install HyperV and Configure vSwitch on Windows Server with PowerShell Virtualization
  • image 64
    Windows Local Account Authorization and Access Control Windows
  • delete5
    How to Delete Diagnostic Data in Windows 10 and Windows 11 Windows

Subscribe to Blog via Email

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

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

Tags

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

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.