Удаление программ и служб удаленно PowerShell
1 |
Enter-PSSession -ComputerName PC-NAME |
1 2 3 |
Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, Size, InstallDate | Format-Table -AutoSize Get-ItemProperty HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, Size, InstallDate | Format-Table -AutoSize Get-WmiObject Win32_Product | ft name,version,vendor,packagename |
1 |
wmic product where name="Имя программы" call uninstall /nointeractive |
1 2 3 |
get-service Remove-Service -Name "ServiceName" sc.exe delete ServiceName |
Рассказать: