# Create Profile in Business Unit

> Creates a new profile in the instance Management Point and links it to a Business Unit.

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

## Description

This function is used to create a new profile in the instance Management Point, and link it to a Business Unit. The instance management point is selected with [Set instance management point](/capainstaller/sdk-capainstaller-software-development-kit-functions/container-functions/set-instance-management-point/)

## Syntax

**VBScript**

```vb
Public Function CreateProfileInBusinessUnit
(name As String, description As String, priority As Integer, changelogComment As String, businessUnitId As Integer) As Boolean
```

## Parameters

## Return value

Returns a boolean value. True if succeeded, false if not.

## Example

**VBScript**

```vb
Set oCMS = CreateObject("CapaInstaller.SDK") 
oCMS.SetDatabaseSettings("ServerName", "CapaInstaller", False)
Wscript.echo oCMS.SetInstanceManagementPoint("2")
 
Wscript.echo oCMS.CreateProfileInBusinessUnit("Exchange BU1", "", 350, "New profile from the sdk", 1)
```
