/
Create Profile
Create Profile
Description
This function is used to create a new profile in the Default Managment Point. A default point is selected with Set default management point. If the new profile should be linked to a Business Unit,you can specify a businessUnitId.
Syntax
Public Function CreateProfile (name As String, description As String, priority As Integer, changelogComment As String) As Boolean
Parameters
Name (String)
Name of the new Profile
Description (String)
Description of the new Profile
Priority (Integer)
Priority of the Profile
ChangelogComment (String)
A comment that will be added to the changelog entry on the proifile.
Return value
Returns a boolean value. True if succeeded, false if not.
Example
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") Wscript.echo oCMS.SetDatabaseSettings("ServerName", "CapaInstaller", False) Wscript.echo oCMS.SetDefaultManagementPoint("2") Wscript.echo oCMS.CreateProfile("Passcode", "Profile with passcode payloads", 400, "New profile from the sdk")
, multiple selections available,
Related content
Create Profile
Create Profile
More like this
Create Profile in Business Unit
Create Profile in Business Unit
More like this
Create Profile in Business Unit
Create Profile in Business Unit
More like this
Assign Profile to Business Unit
Assign Profile to Business Unit
More like this
Get Profiles
Get Profiles
More like this
Get Profiles
Get Profiles
More like this