Public/ps1/Configuration/Get-Configuration.ps1
function Get-Configuration { $folder = Get-LeftConnectConfigurationFolder if (Test-Path "$folder\config.json") { } else { "{}"|set-content "$folder\config.json" } Get-Content "$folder\config.json" | ConvertFrom-Json } |