D
D
dobromin2017-03-29 16:18:49
PowerShell
dobromin, 2017-03-29 16:18:49

How to uninstall programs via PowerShell?

Hello! I'm a bad detective. I can not find how to use the power to delete programs.
Hyper-V server 2012 r2

get-package : Имя "get-package" не распознано как имя командлета, функции
, файла сценария или выполняемой программы. Проверьте правильность написания им
ени, а также наличие и правильность пути, после чего повторите попытку.
строка:1 знак:1
+ get-package
+ ~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (get-package:String) [], Comm
   andNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kin63camapa, 2017-03-29
@dobromin

Tiled:
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online
Get-AppXPackage | Remove-AppxPackage
There is no option to parse HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall for regular ready-made APIs, but "quiet" removal, if not provided by the software manufacturer, is not trivial.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question