Rogan

//Rogan
Rogan

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Rogan
    Participant
    Post count: 2

    The problem is the quotations around the Uninstall String. I had a similar problem and resolved it like so.

    $CCleanerUninstallEXE = (Get-InstalledApplication -Name ‘Ccleaner’).UninstallString.replace(“`””,””)
    Execute-Process -Path $CCleanerUninstallEXE -Parameters “/S”

Viewing 1 post (of 1 total)