install powershell modules

This commit is contained in:
Aleksandr Chebotov
2020-09-14 16:25:33 +03:00
parent 3e90bb832a
commit e7a8e6a597
8 changed files with 78 additions and 5 deletions

View File

@@ -14,8 +14,8 @@ function Get-SqliteVersion {
}
function Get-MySQLVersion {
$mySqlVersion = (mysql --version).Split("/usr/bin/")[1]
return "MySQL ($mySqlVersion)"
$mySQLVersion = mysqld --version | Take-OutputPart -Part 2 | Take-OutputPart -Part 0 -Delimiter "-"
return "MySQL ($mySQLVersion)"
}
function Build-MySQLSection {