Get-Tasks/Get-KBFSubTask.ps1
function Get-KBFSubTask { <# .SYNOPSIS Grab all subtasks from a task #> param ( [Parameter(Mandatory=$true)] [string]$ApiToken, [Parameter(Mandatory=$true)] [string]$taskId ) Invoke-KBFApi -Method "Get" -ApiToken $ApiToken -Command "tasks/$taskId/subtasks" } |