filmov
tv
Detect and Remove CCleaner in Powershell

Показать описание
Detect and Remove CCleaner in Powershell
This is a neat little trick to detect CCleaner on a Windows operating system with powershell, then silently uninstall it using powershell.
Code Below:
------------------------------------------Copy----------------------------------------------------
Get-ItemProperty -Path HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* |
Where-Object DisplayName -eq CCleaner
----------------------------------------COPY----------------------------------------------
if (Get-ItemProperty -Path HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* |
Where-Object DisplayName -eq CCleaner -OutVariable Results) {
}
--------------------------------------Copy-----------------------------------------
Creation by Mike Frobbins
Join our forum
This is a neat little trick to detect CCleaner on a Windows operating system with powershell, then silently uninstall it using powershell.
Code Below:
------------------------------------------Copy----------------------------------------------------
Get-ItemProperty -Path HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* |
Where-Object DisplayName -eq CCleaner
----------------------------------------COPY----------------------------------------------
if (Get-ItemProperty -Path HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* |
Where-Object DisplayName -eq CCleaner -OutVariable Results) {
}
--------------------------------------Copy-----------------------------------------
Creation by Mike Frobbins
Join our forum
Комментарии