Description
Creates a model.
Syntax
CreateModel(name As String, smbios As String, osPointID As Integer) As Boolean
Parameters
PackageName (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")