# Opening statement Write-Host -ForegroundColor Green -BackgroundColor Black "Starting Neo4j!" # Version . .\scripts\version.ps1 # Directories $neo4jLocation = Join-Path (Get-Location).Path "neo4j-enterprise-$($neo4jVersion)" $javaJRELocation = Join-Path (Get-Location).Path "zulu$($zuluVersion)-ca-jre$($jreVersion)-win_x64" Write-Host "Setting Java Environment for this session ... " -NoNewline $env:JAVA_HOME = $javaJRELocation $env:PATH = "$($javaJRELocation)\bin;" + $env:PATH Write-Host "Done!" -ForegroundColor Green Write-Host "Importing Neo4j Modules ... " -NoNewline $neo4jModuleLocation = Join-Path $neo4jLocation "bin\Neo4j-Management.psd1" Import-Module $neo4jModuleLocation Write-Host "Done!" -ForegroundColor Green # Start Invoke-Neo4j Console # All done # Nothing needed here