# Function naming and calling conventions

> The recommended Verb-Noun naming convention for functions in PowerPack scripts.

Source: https://docs.capaone.com/capainstaller/powerpacks/powerpack-tips-and-examples/function-naming-and-calling-conventions/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

It is recommended to use the "approved" naming convention when creating functions (Verb-Noun):

**PowerShell**

```powershell
# get list of approved verbs
Get-Verb

# simple function example
function Start-InitializeSDK {
    $script:cms=New-Object -ComObject "CapaInstaller.SDK"
    $script:cms.SetDatabaseSettings($global:databaseserver,$global:database,$false)
    Write-Host $script:cms.GetDllVersion()
    $script:cms.SetInstanceManagementPoint($global:cmpid)
    $script:cms.GetManagementPoints()
    $script:cms.SetSplitter("|")
}
```

When calling functions, never use "( )" parentheses:

**PowerShell**

```powershell
# Correct
Start-InitializeSDK
# Wrong
Start-InitializeSDK()
```
