通过Powershell收回并卸载SharePoint解决方案
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了通过Powershell收回并卸载SharePoint解决方案相关的知识,希望对你有一定的参考价值。
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction "SilentlyContinue" $SolutionPackageName = "MySolution.wsp" # check to see if solution package has been installed if ($solution -ne $null) { # check to see if solution package is currently deployed if($solution.Deployed -eq $true){ Uninstall-SPSolution -Identity $SolutionPackageName -Local -Confirm:$false } }
以上是关于通过Powershell收回并卸载SharePoint解决方案的主要内容,如果未能解决你的问题,请参考以下文章
Powershell:通过 UpgradeCode 卸载应用程序
powershell PowerShell安装默认的NTUSER.DAT,修改它并卸载它
使用Windows Powershell卸载和安装Win10 原生应用的方法