Skip to content

Instantly share code, notes, and snippets.

@lfalck
Last active August 16, 2018 15:32
Show Gist options
  • Save lfalck/da806962cca927961627f116eb6d6f90 to your computer and use it in GitHub Desktop.
Save lfalck/da806962cca927961627f116eb6d6f90 to your computer and use it in GitHub Desktop.
Add-PSSnapin WDeploySnapin3.0
$packagePath = $env:System_DefaultWorkingDirectory + '\_' + $env:Release_DefinitionName + '\drop\' + $env:Release_DefinitionName + '_BT_WCF.zip'
Restore-WDPackage -Package $packagePath -Parameters @{ "IIS Web Application Name"=$env:WebApplicationName }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment