Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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") 



  • No labels