Update install-mongodb.ps1
This commit is contained in:
parent
8840cb7d1f
commit
51cc43a462
1 changed files with 2 additions and 2 deletions
|
@ -2,9 +2,9 @@ Set-ExecutionPolicy RemoteSigned
|
||||||
|
|
||||||
$mongoDbPath = "C:\MongoDB"
|
$mongoDbPath = "C:\MongoDB"
|
||||||
$mongoDbConfigPath = "$mongoDbPath\mongod.cfg"
|
$mongoDbConfigPath = "$mongoDbPath\mongod.cfg"
|
||||||
$url = "http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.6.4.zip"
|
$url = "http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-3.0.2.zip"
|
||||||
$zipFile = "$mongoDbPath\mongo.zip"
|
$zipFile = "$mongoDbPath\mongo.zip"
|
||||||
$unzippedFolderContent ="$mongoDbPath\mongodb-win32-x86_64-2008plus-2.6.4.zip"
|
$unzippedFolderContent ="$mongoDbPath\mongodb-win32-x86_64-2008plus-3.0.2.zip"
|
||||||
|
|
||||||
if ((Test-Path -path $mongoDbPath) -eq $True)
|
if ((Test-Path -path $mongoDbPath) -eq $True)
|
||||||
{
|
{
|
||||||
|
|
Reference in a new issue