Private/Get-Config.ps1

Function Get-Config{
    param
    (
        [string]$ConfigFilePath

    )
    try {
        $config = Import-PowerShellDataFile $PWD/$ConfigFilePath
    } catch {
        $err = $_.Exception.Message
        throw $err
    }

    Write-Output $config
}