Merge pull request #452 from miketimofeev/v-mitim/add_-SqlLocalDB_win19_readme

Add SqlLocalDb to windows19 readme file
This commit is contained in:
Alejandro Pauly
2020-02-24 09:47:34 -05:00
committed by GitHub

View File

@@ -15,6 +15,15 @@ else
throw "DACFx is not installed!"
}
if(Get-Command -Name 'SqlLocalDB')
{
$localDbPath = (Get-Command -Name 'SqlLocalDB').Source
}
else
{
throw "SqlLocalDB is not installed!"
}
function Get-DacFxVersion
{
$regKey = "HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\Data-Tier Application Framework\CurrentVersion"
@@ -28,6 +37,7 @@ $SoftwareName = "SQL Server Data Tier Application Framework (x64)"
$Description = @"
_Version:_ $(Get-DacFxVersion)<br/>
* SQL Server Express LocalDB is available at $localDbPath
"@
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description