Uninstall several software


I use this command:

Get-Package -Name panelbit | Uninstall-Package -Force

The command didn’t finish and go to the next step.
How can I do that the command and it will wait until it finish to uninstall?

(I dont want to use the sleep or wmi command)


These are native PowerShell CmdLets for VERY recent versions of PowerShell.
(PackageManagement Module - PowerShell | Microsoft Docs)
I can’t help much with that stuff.

All I can recommend is don’t use pipelining so much.
It’s very hard to troubleshoot and provides no logging.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.