Web Deploy Provider Settings
Applies To: Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP
Providers can be optionally modified by using provider settings. Provider settings can be added to either a source or a destination by using the general syntax
,ProviderSettingName=ProviderSettingValue
For example, in the following sync operation, the provider setting computerName=Server1 is used with the metaKey provider to specify that the source lm/w3svc/1 is found on the computer named Server1.
msdeploy.exe -verb:sync -source:metakey=lm/w3svc/1,computerName=Server1 -dest:metakey=lm/w3svc/2
Important
There is no space between the comma and the provider setting.
Provider Settings List
The following lists common Web Deploy provider settings.
Important
Setting
Example
msdeploy -verb:sync -source:webServer,wmsvc=Server1,username=User1,password=1234,authtype=basic -dest:webServer,wmsvc=Server2,username=User2,password=4321,authtype=basic
Note
Setting
Example
msdeploy -verb:dump -source:metakey=lm/w3svc/1,computerName=Server1
Important
Setting
Example
1. Archive the metabase and specify an encrypt password.
msdeploy -verb:sync -source:metaKey -dest:archivedir=c:\mydir,encryptPassword=MyPassKey
2. Display the archive. The passwords will show in encrypted form.
msdeploy -verb:dump -source:archivedir=c:\mydir
3. Use the password that you specified earlier to display the archive. The passwords will show in plain text.
msdeploy -verb:dump -source:archivedir=c:\mydir,encryptPassword=MyPassKey
Note
Setting
Example
msdeploy.exe –verb:dump –source:webserver60,computername=RemoteServer1,getCredentials=mytarget
Note
Setting