Convert XML to Dictionary
<p>Can someone please tell me how to convert the xml file to Dictionary using Powershell.</p>

<p>Here is my xml file looks like,</p>

<pre><code>==&gt;     &lt;xml id="ATAT_Prod"&gt;
        &lt;tag1&gt;value1&lt;/tag1&gt;
        &lt;tag2&gt;value2&lt;/tag2&gt;
        &lt;/xml&gt;
</code></pre>

<p>can someone suggest me. Thanks in advance.</p>