functions/public/Get-FerootProjectGroup.ps1

<#
.Synopsis
    Returns a list of project groups/folders.
.DESCRIPTION
    Returns a list of project groups/folders.
.EXAMPLE
    Get-FerootProjectGroup
#>

function Get-FerootProjectGroup{

    process{

        $RelativeUri = "platform/project-groups"

        $RestSplat = @{
            Method = 'GET'
            RelativeURI = $RelativeUri
        }

        $Response = Invoke-FerootRestCall @RestSplat
        $Response
    }
}