createpackage Create an XML package file for the specified model. Usage: MDSModelDeploy createpackage -package -model -version ...

createpackage
    Create an XML package file for the specified model.

Usage:

MDSModelDeploy createpackage
-package 
-model 
[-version ]
[-includedata]
[-service ]

Options:
-package :
    The file name of the package that will be created

-model :
    The name of the model to include in the package

-version :
    The name of the version of master data to include in the package (if -includedata is specified)

-includedata:
    If present, master data for the model will be included in the package.
    By default, no master data is included.

-service :
    Specifies the service name to connect to.
    This parameter is required if there are multiple instances of Master Data Services installed.
    Use the "MDSModelDeploy listservices" command to list the available service instances.

All names that contain spaces must be enclosed in quotation marks.

Examples:

1. Create a package for the Account model containing model objects only (no data)

MDSModelDeploy createpackage -model Account -package Account.pkg

2. Create a package for the Product model, including master data for version "Version 1"

MDSModelDeploy createpackage -model Product -package Product.pkg -version "Version 1" -includedata