Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save omar-yassin/882b4fd2b8126576b587872d700f837b to your computer and use it in GitHub Desktop.
Save omar-yassin/882b4fd2b8126576b587872d700f837b to your computer and use it in GitHub Desktop.
#f*ck joo
$deploy_args = @(
"-verb:sync",
"-source:package=$provisioning_dir/$zip_name",
"-dest:auto",
"-setParam:name='IIS Web Application Name',value='omar'"
)
$deploy = Start-Process ${msdeploy_bin} -NoNewWindow -ArgumentList $deploy_args -PassThru -Wait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment