cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Start transcript not capturing output in powershell

Hi, 

I'm trying to run this simple dump command in powershell and print the output after running the command to a logfile:

Start-Transcript -Path log.txt
V:\neo4j\relate-data\dbmss\dbms-a5914a53-3b7d-42d0-a050-8bd6058e5e98\bin\neo4j-admin dump --database=neo4j --to=V:\neo4j\dumps
Stop-Transcript

overflow.PNG

 What I want into log.txt is:

Selecting JVM - Version:11.0.12+7, Name:OpenJDK 64-Bit Server VM, Vendor:Microsoft
Archive already exists: V:\neo4j\dumps

 

but the start/stop transcript is not capturing anything, leaving the log.txt file empty except for the auto generated header and transcript text ex:

txt.PNG

start/stop transcript works fine if the command is ex. "dir".

 

 

 

0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online