Skip to content

Instantly share code, notes, and snippets.

@gregjhogan
Created February 26, 2016 19:50
Show Gist options
  • Select an option

  • Save gregjhogan/1e5cbf112b53cae18225 to your computer and use it in GitHub Desktop.

Select an option

Save gregjhogan/1e5cbf112b53cae18225 to your computer and use it in GitHub Desktop.
use msdeploy to publish a package to a website
"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -source:package='\\path\to\file.zip' -dest:auto,ComputerName="https://server.domain.com:8172/msdeploy.axd?site=site.domain.com",IncludeAcls='False',AuthType='NTLM' -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -setParam:name='ParamName',value="ParamValue" -setParam:kind='ProviderPath',scope='ContentPath',value='site.domain.com/appname'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment