Skip to content

Instantly share code, notes, and snippets.

@BasLijten
Created April 11, 2018 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BasLijten/124caaab3d6eff9c50b8b58fbc57fff3 to your computer and use it in GitHub Desktop.
Save BasLijten/124caaab3d6eff9c50b8b58fbc57fff3 to your computer and use it in GitHub Desktop.
# msdeploy argument to set destination IIS App Name for deploy
if($virtualApplication)
{
$msDeployCmdArgs += [String]::Format(' -setParam:name="IIS Web Application Name",value="{0}/{1}"', $webAppNameForMSDeployCmd, $virtualApplication)
}
else
{
$msDeployCmdArgs += [String]::Format(' -setParam:name="IIS Web Application Name",value="{0}"', $webAppNameForMSDeployCmd)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment