title: How to set destination website on MSDeploy.exe command line
body: <p>I have a Web Deploy 3.5 package that I want to deploy to a remote server. How do I specify the name of the site on the MSDeploy.exe command line?</p>
  
  <p>Here's what I have so far:</p>
  
  <pre><code>C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe
      -source:package='package.zip' 
      -dest:auto,computerName="ServerName",includeAcls="False" 
      -verb:sync 
      -disableLink:AppPoolExtension 
      -disableLink:ContentExtension 
      -disableLink:CertificateExtension 
      -setParamFile:"package.SetParameters.xml"
  </code></pre>
  
  <p>But the name of the site is specified in the <code>package.SetParamters.xml</code> file, and I'd prefer to set it on the command line. Some of the places I want to deploy this package are different sites located on the same server, like our Stage and UAT sites.</p>
  
  <p>I've looked at using the iisApp and appHostConfig providers described here:
  <a href="http://technet.microsoft.com/en-us/library/dd569040%28v=ws.10%29.aspx" rel="noreferrer">http://technet.microsoft.com/en-us/library/dd569040%28v=ws.10%29.aspx</a></p>
  
  <p>But I'm having trouble using those in combination with a package file.</p>