How to remove an App from SharePoint 2016 using PowerShell Script?

SharePoint deveopment training course

In this post, we will discuss how we can remove an app from SharePoint 2016 using PowerShell. Recently we have added on SharePoint free app from App store and then we want to remove that by using PowerShell.

Also, read:
SharePoint 2016 Fast Site Collection Creation using PowerShell

Create and Deploy SharePoint 2013 site pages or content pages using Visual Studio 2013

How to publish InfoPath forms as a content type in SharePoint 2013?

Below is the PowerShell command which you can run in Windows PowerShell ISE like below:

Add-PSSnapin Microsoft.SharePoint.PowerShell


$appInstance = Get-SPAppInstance -Web “http://mypc:29024/sites/SPTraining/” | where-object {$_.Title -eq $AppName}

if ($appInstance -ne $null)


Uninstall-SPAppInstance –Identity $appInstance


Once you run this it will ask for confirmation message and click on Yes to All to execute it.

Hope this will be helpful.

Check out Best Alternative to InfoPath -> Try Now

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)


About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site

View all posts by Bijay Kumar →