mirror of
https://github.com/actions/runner-images.git
synced 2025-12-26 11:28:17 +08:00
Merge pull request #452 from miketimofeev/v-mitim/add_-SqlLocalDB_win19_readme
Add SqlLocalDb to windows19 readme file
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user