Package directory contents into a zip package:
msdeploy -verb:sync -source:contentpath="c:\temp" -destination:package="file.zip"
See TechNet resources (link).