Functions/Data/Convert-HashToConnectionString.ps1
function Convert-HashToConnectionString { param ( [Parameter(Mandatory = $true)] [System.Collections.Hashtable] $Hash ) $keys = $Hash.keys foreach ($key in $keys) { $v = $Hash[$key] $hashstr += "$key" + "=" + "$v" + ";" } return $hashstr } |