Jump to content

Remove agent not working


Recommended Posts


I try with this script to remove the agent from a former client:

    $result = Get-WmiObject win32_product -filter "Name LIKE 'Pulseway'" | Select-Object IdentifyingNumber;
    [string]$a = $result.identifyingNumber;
    msiexec.exe /X $a /qn
    Remove-Item -Path "HKLM:\SOFTWARE\MMSOFT Design" -Recurse
    if (Test-Path -Path "C:\Program Files\Pulseway") {
      remove-item -path "C:\Program Files\Pulseway" -Force -Recurse -ErrorAction SilentlyContinue
	Write-Host "$a Uninstallation completed successfully"
	Write-Host "Uninstallation failed"

But it is still installed. So what can I to totally remove it?

{12CF5BF5-CA28-4904-A981-B3615F660468} Uninstallation completed successfully
PS C:\WINDOWS\system32> Get-WmiObject win32_product -filter "Name LIKE 'Pulseway'"

IdentifyingNumber : {12CF5BF5-CA28-4904-A981-B3615F660468}
Name              : Pulseway
Vendor            : MMSOFT Design
Version           : 8.9.1                              
Caption           : Pulseway


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...