Get-Tasks/Get-KBFLabel.ps1

function Get-KBFLabel {
    <#
        .SYNOPSIS
        Grab all labels from a task
    #>

    param (
        [Parameter(Mandatory=$true)]
        [string]$ApiToken,
        [Parameter(Mandatory=$true)]
        [string]$taskId        
    )

    Invoke-KBFApi -Method "Get" -ApiToken $ApiToken -Command "tasks/$taskId/labels"

}