title: Running msdeploy.exe from within Powershell
body: <p>I'm trying to run the following command from within Powershell:</p>
  
  <pre><code>msdeploy -verb:sync -source:archiveDir=c:\KitchenPC\Build -dest:appHostConfig="KitchenPC",computerName=https://192.168.0.3:8172/msdeploy.axd,authType=Basic,userName=someuser,password="secret" -allowUntrusted
  </code></pre>
  
  <p>The <a href="http://technet.microsoft.com/en-us/library/dd569106%28v=ws.10%29.aspx" rel="noreferrer">docs say</a> to simply substitute the <code>:</code> after each parameter with an <code>=</code>.  So I've tried this:</p>
  
  <pre><code>msdeploy -verb=sync -source=archiveDir=c:\KitchenPC\Build -dest=appHostConfig="KitchenPC",computerName=https://192.168.0.3:8172/msdeploy.axd,authType=Basic,userName=someuser,password="secret" -allowUntrusted
  </code></pre>
  
  <p>However, I get the error:</p>
  
  <blockquote>
    <p>Error: Unrecognized argument
    'computerName=https://192.168.0.3:8172/msdeploy.axd'. All arguments
    must begin with "-". Error count: 1.</p>
  </blockquote>
  
  <p>I've checked the <a href="http://technet.microsoft.com/en-us/library/dd569001%28v=ws.10%29.aspx" rel="noreferrer">docs on provider settings</a>, however they have no mention of their equivelent Powershell syntax.</p>