Stick mongodb version to 4.4.7 (#3747)

* Version 5 potentially contains breaking changes.
Stick to 4.4.7 and announce changes before upgrading to it.
This commit is contained in:
Mikhail Timofeev
2021-07-19 20:24:04 +03:00
committed by GitHub
parent a62b2ca9db
commit 47c20dcaa3

View File

@@ -3,7 +3,7 @@
## Desc: Install MongoDB
####################################################################################
Choco-Install -PackageName mongodb
Choco-Install -PackageName mongodb -ArgumentList "--version=4.4.7"
$mongoPath = (Get-CimInstance Win32_Service -Filter "Name LIKE 'mongodb'").PathName
$mongoBin = Split-Path -Path $mongoPath.split('"')[1]
Add-MachinePathItem "$mongoBin"