mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-06 18:17:26 +08:00
add sqllocaldb to readme
This commit is contained in:
@@ -15,6 +15,15 @@ else
|
|||||||
throw "DACFx is not installed!"
|
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
|
function Get-DacFxVersion
|
||||||
{
|
{
|
||||||
$regKey = "HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\Data-Tier Application Framework\CurrentVersion"
|
$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 = @"
|
$Description = @"
|
||||||
_Version:_ $(Get-DacFxVersion)<br/>
|
_Version:_ $(Get-DacFxVersion)<br/>
|
||||||
|
* SqlLocalDB is available at $localDbPath
|
||||||
"@
|
"@
|
||||||
|
|
||||||
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
Add-SoftwareDetailsToMarkdown -SoftwareName $SoftwareName -DescriptionMarkdown $Description
|
||||||
|
|||||||
Reference in New Issue
Block a user