title: Powershell remotely register COM dll by using regsvr32
body: <p>I found on Internet, this ps script may work. But the result I get is: no error pops up, but also DLL not found in registry after running the script.</p>
  
  <pre><code>Invoke-Command -ComputerName $servername -ScriptBlock {regsvr32.exe "\\uncpath\some.dll" }
  </code></pre>
  
  <p>I tried in both "run as administrator" and normal PS console window, and windows remote management service is on on remote server.</p>
  
  <p>Any idea? </p>