T
T
thatmaniscool2021-05-03 11:00:58
PowerShell
thatmaniscool, 2021-05-03 11:00:58

How to uninstall user software in PowerShell?

With the help of the command, I received a list of software.

Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize > C:\DST\InstalledProgramsPS.txt

There are several programs that I do not need and I would like to remove them. How to do it with PowerShell?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MaxKozlov, 2021-05-03
@MaxKozlov

Well, find in what you got the contents of the UninstallString key for each program and run
. Naturally, this key must be included in Select-Object

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question