Uninstall a product from powershell
<p>How to uninstall a product using the guid of the product </p>

<p>I tried this</p>

<pre><code>msiexec /x {guid}
</code></pre>

<p>But i cant uninstall the product</p>

<p>It worked fine when i use </p>

<pre><code>Wmic product where identifyingnumber={guid} call uninstall
</code></pre>