Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

msdeploy /?

By: a guest on Jul 26th, 2012  |  syntax: None  |  size: 7.45 KB  |  views: 291  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. C:\Users\tabell\dev\shell.git>msdeploy /?
  2. Microsoft (R) Web Deployment Command Line Tool (MSDeploy.exe)
  3. Version 7.1.1070.1
  4. Copyright (c) Microsoft Corporation. All rights reserved.
  5.  
  6. MSDeploy.exe <-verb:<name>> <-source:<object>> [-dest:<object>] [args ...]
  7.  
  8.   -verb:<name>                   Action to perform (required).
  9.   -source:<object>               The source object for the operation (required).
  10.   -dest:<object>                 The destination object for the operation.
  11.   -declareParam:<params>         Declares a parameter for synchronization.
  12.   -setParam:<params>             Sets a parameter for synchronization.
  13.   -setParamFile:<xmlfile>        Applies parameter settings from an XML file.
  14.   -declareParamFile:<xmlfile>    Includes parameter declarations from an XML file.
  15.   -removeParam:<name>            Removes a parameter from the list of declared parameters.
  16.   -disableLink:<name>            Disables the specified link extension(s).
  17.   -enableLink:<name>             Enables the specified link extension(s).
  18.   -disableRule:<name>            Disables the specified synchronization rule(s).
  19.   -enableRule:<name>             Enables the specified synchronization rule(s).
  20.   -replace:<arg settings>        Specifies an attribute replacement rule.
  21.   -retryAttempts                 The number of times a provider will retry after a failed action (not all providers support retrying). Defaults to 5.
  22.   -retryInterval                 Interval in milliseconds between retry attempts (-retryAttempts). The default is 1000.
  23.   -skip:<arg settings>           Specifies an object to skip during synchronization.
  24.   -disableSkipDirective:<name>   Disables the specified skip directive.
  25.   -enableSkipDirective:<name>    Enables the specified skip directive.
  26.   -verbose                       Enables more verbose output.
  27.   -whatif                        Displays what would have happened without actually performing any operations.
  28.   -disableAppStore               Disables saving to the application store during a sync.
  29.   -xpath:<path>                  An XPath expression to apply to XML output.
  30.   -xml                           Return results in XML format.
  31.   -allowUntrusted                Allow untrusted server certificate when using SSL.
  32.   -showSecure                    Show secure attributes in XML output instead of hiding them.^
  33.   -preSync:<command>             A command to execute before the synchronization on the destination.  For instance, net stop a service.
  34.   -postSync:<command>            A command to execute after the synchronization on the destination.  For instance, net start a service.
  35.  
  36. Supported Verbs:
  37.  
  38.   dump                           Displays the details of the specified source object.
  39.   sync                           Synchronizes the destination object with the source object.
  40.   delete                         Deletes specified destination object.
  41.   getDependencies                Retrieve dependencies for given object
  42.   getParameters                  Return parameters supported by object
  43.   getSystemInfo                  Retrieve system information associated with given object
  44.  
  45. <object> format:
  46.  
  47.   provider-type=[provider-path],[provider settings],...
  48.  
  49. Supported provider-types (and sample paths, if applicable):
  50.  
  51.   appHostConfig                  IIS 7 configuration
  52.   appHostSchema                  IIS 7 configuration schema
  53.   appPoolConfig                  IIS 7 Application Pool
  54.   appPoolEnable32Bit             Enable 32-bit application pool on IIS7.
  55.   appPoolNetFx                   IIS 7 Application Pool Managed Framework Runtime Version.
  56.   appPoolPipeline                IIS 7 Application Pool Pipeline Mode.
  57.   archiveDir                     Archive directory
  58.   auto                           Automatic destination
  59.   cert                           Certificate
  60.   comObject32                    32-bit COM object
  61.   comObject64                    64-bit COM object
  62.   contentPath                    File System Content
  63.   createApp                      Defines an application in the IIS configuration system.
  64.   dbFullSql                      Deploy SQL database
  65.   dbMySql                        Deploy MySQL database
  66.   dbSqlite                       Deploy SQLite database
  67.   dirPath                        Directory
  68.   fcgiExtConfig                  FcgiExt.ini settings or fastCgi section configuration
  69.   filePath                       File
  70.   gacAssembly                    GAC assembly
  71.   gacInstall                     Signed Assembly GAC Installer
  72.   iisApp                         Web Application
  73.   IncrementalEntry               File or Directory
  74.   machineConfig32                .NET 32-bit machine configuration
  75.   machineConfig64                .NET 64-bit machine configuration
  76.   manifest                       Custom manifest file
  77.   metaKey                        Metabase key
  78.   package                        A .zip file package
  79.   recycleApp                     Recycles, starts, or stops an application's app pool, or unloads an application's app domains on IIS 7.
  80.   regKey                         Registry key
  81.   regValue                       Registry value
  82.   rootWebConfig32                .NET 32-bit root Web configuration
  83.   rootWebConfig64                .NET 64-bit root Web configuration
  84.   runCommand                     Runs a command on the destination when sync is called.
  85.   setAcl                         Grant permissions
  86.   urlScanConfig                  UrlScan.ini settings or requestFiltering section configuration
  87.   webServer                      Full IIS 7 Web server
  88.   webServer60                    Full IIS 6 Web server
  89.  
  90. Common settings (can be used with all providers):
  91.  
  92.   computerName=<name>              Name of remote computer or proxy-URL
  93.   wmsvc=<name>                     Name of remote computer or proxy-URL for the Web Management Service (WMSvc). Assumes that the service is listening on port 8172.
  94.   authtype=<name>                  Authentication scheme to use. NTLM is the default setting. If the wmsvc option is specified, then Basic is the default setting.
  95.   userName=<name>                  User name to authenticate for remote connections (required if using Basic authentication).
  96.   password=<password>              Password of the user for remote connections (required if using Basic authentication).
  97.   storeCredentials=<target>        Username and password will be stored in the Windows Credential Manager under the target identifier.
  98.   getCredentials=<target>          Target identifies the credentials (username and password) in the Windows Credential Manager to be used when connecting to remote computer.
  99.   encryptPassword=<pwd>            Password to use for encrypting/decrypting any secure data.
  100.   includeAcls=<bool>               If true, include ACLs in the operation (applies to the file system, registry, and metabase).
  101.   tempAgent=<bool>                 Temporarily install the remote agent for the duration of a remote operation.
  102.  
  103.  
  104. Examples:
  105.  
  106.   MSDeploy.exe -verb:sync -source:contentPath=c:\sourcedir -dest:contentPath=c:\newdir -whatif
  107.  
  108.   MSDeploy.exe -verb:dump -source:archivedir=c:\mydir
  109.  
  110.   MSDeploy.exe -verb:sync -source:metakey=lm/w3svc/1,computerName=mycomputer -dest:metakey=lm/w3svc/2
  111.  
  112.   MSDeploy.exe -verb:sync -source:dbFullSql=c:\myscript.sql -dest:dbFullSql="Data Source=.;Integrated Security=SSPI;Initial Catalog=Northwind"
  113.  
  114. For more detailed help, add -help to any partial command line.
  115.  
  116.   MSDeploy.exe -help -verb
  117.   MSDeploy.exe -help -source:apphostconfig
  118.   MSDeploy.exe -help -verb:sync -whatif