# Create model

> Creates a hardware model matched by an SMBIOS string for an OS point.

Source: https://docs.capaone.com/capainstaller/sdk-capainstaller-software-development-kit-functions/os-deployment-functions/create-model/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

## 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**

```vb
Set oCMS = CreateObject("CapaInstaller.SDK") 
wscript.echo oCMS.SetInstanceManagementPoint("1") 
wscript.echo oCMS.CreateModel("HP HP Z2 Tower G4 Workstation","HP Z2 Tower G4 Workstation*","1") 
```
