Web Deploy appHostSchema Provider

Applies To: Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP

appHostSchema

The appHostSchema provider synchronizes custom schema files.

Example

msdeploy -verb:sync -source:appHostSchema,computerName=Server1 -dest:appHostSchema

The appHostSchema provider detects any custom schema files that are in the %windir%\system32\inetsrv\config\schema directory. In a dump operation, appHostSchema will display filepath information for the custom schema files. In a sync operation, appHostSchema will copy the custom schema files from the source specified to the specified destination. If the custom schema on the source does not exist on the destination, it will be created on the destination.

Warning

System-related schema files such as IIS_schema.xml, ASPNET_schema.xml, FX_schema.xml, and rscaext.xml are not copied in a synchronization operation.

Example usages

1) Display the file paths of custom schema files.

msdeploy -verb:dump -source:appHostSchema

2) Synchronize custom schema files between two computers.

msdeploy -verb:sync -source:appHostSchema -dest:appHostSchema,computerName=Server1