title: Uninstall application using Powershell
body: <p>I have a 3rd party agent installed on my virtual machines that I need to remove using Powershell.</p>
  
  <p>It shows up in control panel, add/remove programs but does not show up using either <code>get-wmiobject</code> or the <code>get-itemproperty</code> hklm uninstall registry key path:</p>
  
  <pre><code>get-itemproperty HKLM:\\software\microsoft\windows\currentversion\uninstall* | select-object displayname, displayversion, publisher
  </code></pre>
  
  <p>Anyone else know a way that I can remove it using a script?</p>