C:\Users\tabell\dev\shell.git>msdeploy /? Microsoft (R) Web Deployment Command Line Tool (MSDeploy.exe) Version 7.1.1070.1 Copyright (c) Microsoft Corporation. All rights reserved. MSDeploy.exe <-verb:> <-source:> [-dest:] [args ...] -verb: Action to perform (required). -source: The source object for the operation (required). -dest: The destination object for the operation. -declareParam: Declares a parameter for synchronization. -setParam: Sets a parameter for synchronization. -setParamFile: Applies parameter settings from an XML file. -declareParamFile: Includes parameter declarations from an XML file. -removeParam: Removes a parameter from the list of declared parameters. -disableLink: Disables the specified link extension(s). -enableLink: Enables the specified link extension(s). -disableRule: Disables the specified synchronization rule(s). -enableRule: Enables the specified synchronization rule(s). -replace: Specifies an attribute replacement rule. -retryAttempts The number of times a provider will retry after a failed action (not all providers support retrying). Defaults to 5. -retryInterval Interval in milliseconds between retry attempts (-retryAttempts). The default is 1000. -skip: Specifies an object to skip during synchronization. -disableSkipDirective: Disables the specified skip directive. -enableSkipDirective: Enables the specified skip directive. -verbose Enables more verbose output. -whatif Displays what would have happened without actually performing any operations. -disableAppStore Disables saving to the application store during a sync. -xpath: An XPath expression to apply to XML output. -xml Return results in XML format. -allowUntrusted Allow untrusted server certificate when using SSL. -showSecure Show secure attributes in XML output instead of hiding them.^ -preSync: A command to execute before the synchronization on the destination. For instance, net stop a service. -postSync: A command to execute after the synchronization on the destination. For instance, net start a service. Supported Verbs: dump Displays the details of the specified source object. sync Synchronizes the destination object with the source object. delete Deletes specified destination object. getDependencies Retrieve dependencies for given object getParameters Return parameters supported by object getSystemInfo Retrieve system information associated with given object format: provider-type=[provider-path],[provider settings],... Supported provider-types (and sample paths, if applicable): appHostConfig IIS 7 configuration appHostSchema IIS 7 configuration schema appPoolConfig IIS 7 Application Pool appPoolEnable32Bit Enable 32-bit application pool on IIS7. appPoolNetFx IIS 7 Application Pool Managed Framework Runtime Version. appPoolPipeline IIS 7 Application Pool Pipeline Mode. archiveDir Archive directory auto Automatic destination cert Certificate comObject32 32-bit COM object comObject64 64-bit COM object contentPath File System Content createApp Defines an application in the IIS configuration system. dbFullSql Deploy SQL database dbMySql Deploy MySQL database dbSqlite Deploy SQLite database dirPath Directory fcgiExtConfig FcgiExt.ini settings or fastCgi section configuration filePath File gacAssembly GAC assembly gacInstall Signed Assembly GAC Installer iisApp Web Application IncrementalEntry File or Directory machineConfig32 .NET 32-bit machine configuration machineConfig64 .NET 64-bit machine configuration manifest Custom manifest file metaKey Metabase key package A .zip file package recycleApp Recycles, starts, or stops an application's app pool, or unloads an application's app domains on IIS 7. regKey Registry key regValue Registry value rootWebConfig32 .NET 32-bit root Web configuration rootWebConfig64 .NET 64-bit root Web configuration runCommand Runs a command on the destination when sync is called. setAcl Grant permissions urlScanConfig UrlScan.ini settings or requestFiltering section configuration webServer Full IIS 7 Web server webServer60 Full IIS 6 Web server Common settings (can be used with all providers): computerName= Name of remote computer or proxy-URL wmsvc= Name of remote computer or proxy-URL for the Web Management Service (WMSvc). Assumes that the service is listening on port 8172. authtype= Authentication scheme to use. NTLM is the default setting. If the wmsvc option is specified, then Basic is the default setting. userName= User name to authenticate for remote connections (required if using Basic authentication). password= Password of the user for remote connections (required if using Basic authentication). storeCredentials= Username and password will be stored in the Windows Credential Manager under the target identifier. getCredentials= Target identifies the credentials (username and password) in the Windows Credential Manager to be used when connecting to remote computer. encryptPassword= Password to use for encrypting/decrypting any secure data. includeAcls= If true, include ACLs in the operation (applies to the file system, registry, and metabase). tempAgent= Temporarily install the remote agent for the duration of a remote operation. Examples: MSDeploy.exe -verb:sync -source:contentPath=c:\sourcedir -dest:contentPath=c:\newdir -whatif MSDeploy.exe -verb:dump -source:archivedir=c:\mydir MSDeploy.exe -verb:sync -source:metakey=lm/w3svc/1,computerName=mycomputer -dest:metakey=lm/w3svc/2 MSDeploy.exe -verb:sync -source:dbFullSql=c:\myscript.sql -dest:dbFullSql="Data Source=.;Integrated Security=SSPI;Initial Catalog=Northwind" For more detailed help, add -help to any partial command line. MSDeploy.exe -help -verb MSDeploy.exe -help -source:apphostconfig MSDeploy.exe -help -verb:sync -whatif