Create model
Description
Section titled “Description”Creates a model.
Syntax
Section titled “Syntax”CreateModel(name As String, smbios As String, osPointID As Integer) As Boolean
Parameters
Section titled “Parameters”Name (String)
The name of the model.
SmBios (String)
The smbios string used to match the model.
osPointID (integer)
The OS point id.
Return Value
Section titled “Return Value”Boolean. The function returns True if successful, otherwise false.
Example
Section titled “Example”VBScript
Set oCMS = CreateObject("CapaInstaller.SDK")wscript.echo oCMS.SetDefaultManagementPoint("1")wscript.echo oCMS.CreateModel("HP HP Z2 Tower G4 Workstation","HP Z2 Tower G4 Workstation*","1")