mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 20:56:47 +00:00
Add database tools section to Windows docs (#1706)
* add database tools section to docs, removed sqlps powershell module * reverted SQLPS module changes * removed SqlServer module from tools, its listed in PS modules * delete function as its not needed Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
This commit is contained in:
@@ -74,7 +74,6 @@ $markdown += New-MDList -Style Unordered -Lines @(
|
||||
|
||||
$markdown += New-MDHeader "Tools" -Level 3
|
||||
$markdown += New-MDList -Style Unordered -Lines @(
|
||||
(Get-AzCosmosDBEmulatorVersion),
|
||||
(Get-AzCopyVersion),
|
||||
(Get-BazelVersion),
|
||||
(Get-BazeliskVersion),
|
||||
@@ -91,15 +90,12 @@ $markdown += New-MDList -Style Unordered -Lines @(
|
||||
(Get-KubectlVersion),
|
||||
(Get-KindVersion),
|
||||
(Get-MinGWVersion),
|
||||
(Get-MySQLVersion),
|
||||
(Get-MercurialVersion),
|
||||
(Get-NSISVersion),
|
||||
(Get-NewmanVersion),
|
||||
(Get-OpenSSLVersion),
|
||||
(Get-PackerVersion),
|
||||
(Get-PulumiVersion),
|
||||
(Get-SQLPSVersion),
|
||||
(Get-SQLServerPSVersion),
|
||||
(Get-SVNVersion),
|
||||
(Get-GHCVersion),
|
||||
(Get-CabalVersion),
|
||||
@@ -168,6 +164,14 @@ $markdown += New-MDHeader "Databases" -Level 3
|
||||
$markdown += Build-DatabasesMarkdown
|
||||
$markdown += New-MDNewLine
|
||||
|
||||
$markdown += New-MDHeader "Database tools" -Level 3
|
||||
$markdown += New-MDList -Style Unordered -Lines @(
|
||||
(Get-AzCosmosDBEmulatorVersion),
|
||||
(Get-SQLPSVersion),
|
||||
(Get-MySQLVersion)
|
||||
)
|
||||
$markdown += New-MDNewLine
|
||||
|
||||
$vs = Get-VisualStudioVersion
|
||||
$markdown += New-MDHeader "$($vs.Name)" -Level 3
|
||||
$markdown += $vs | New-MDTable
|
||||
|
||||
@@ -125,12 +125,6 @@ function Get-SQLPSVersion {
|
||||
return "SQLPS $version"
|
||||
}
|
||||
|
||||
function Get-SQLServerPSVersion {
|
||||
$module = Get-Module -Name SQLServer -ListAvailable
|
||||
$version = $module.Version
|
||||
return "SQLServer PS $version"
|
||||
}
|
||||
|
||||
function Get-SVNVersion {
|
||||
$svnVersion = $(svn --version --quiet)
|
||||
return "Subversion (SVN) $svnVersion"
|
||||
|
||||
Reference in New Issue
Block a user