[Windows] Update MongoDB to 7.0 on windows-2022 (#13125)

This commit is contained in:
Alexey-Ayupov
2025-10-02 12:35:19 +02:00
committed by GitHub
parent 4fb55a7372
commit 8b17fc0f05
5 changed files with 17 additions and 27 deletions

View File

@@ -21,11 +21,7 @@ function Get-PostgreSQLTable
function Get-MongoDBTable
{
$name = "MongoDB"
if (Test-IsWin25) {
$command = "mongod"
} else {
$command = "mongo"
}
$command = "mongod"
$mongoService = Get-Service -Name $name
$mongoVersion = (Get-Command -Name $command).Version.ToString()
return [PSCustomObject]@{