Skip to content

Instantly share code, notes, and snippets.

@jeevan-vj
Created July 2, 2019 09:20
Show Gist options
  • Save jeevan-vj/b70132bb16980a8101991db839d06428 to your computer and use it in GitHub Desktop.
Save jeevan-vj/b70132bb16980a8101991db839d06428 to your computer and use it in GitHub Desktop.
create wdp
$archiveDirectory = ""
$packageFilePath = "\PACKAGE\package.zip"
$parametersFilePath = "SampleWDP\TEST\parameters.xml"
$MSDeploy = "<C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe>"
& "$MSDeploy" -verb:sync -source:archiveDir="$archiveDirectory" -dest:package="$packageFilePath" -declareParamFile="$parametersFilePath"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment