Create model
Description
Creates a model.
Syntax
CreateModel(name As String, smbios As String, osPointID As Integer) As Boolean
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
Boolean. The function returns True if successful, otherwise false.
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")