1

I am trying to run the following command and have tried passing arguments and hash tables but it did not work:

msdeploy.exe -verb:sync -source:metakey=lm/w3svc/1 -dest:package=C:\iis_backups\site1.zip,encryptPassword=xyxyz > C:\iis_backups\site1.log
1
  • 1
    Define did not work - what are you expecting it to do, and what is it doing instead. If you get an error message, please include the full message. Commented Mar 8, 2017 at 16:19

1 Answer 1

0

This has been answered before here: Running msdeploy.exe from within Powershell

It appears the solution for your scenario is as follows:

msdeploy.exe '-verb:sync' '-source:metakey=lm/w3svc/1' '-dest:package=C:\iis_backups\site1.zip,encryptPassword=xyxyz' > C:\iis_backups\site1.log
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.