Save output of interactive mode to file

Hi,

this is a very basic question about interactive mode.
I installed Geant and example B1 via Visual Studio. In the VS PowerShell, I run exampleB1.exe in interactive mode. Now in the Geant UI I set /tracking/verbose 1 and do /run/beamOn X. In the VS PowerShell, the G4Track Information is printed. Can I print this information to a file? E.g. like /run/beamOn 1 > output.txt?

_Geant4 Version:_11.2.1
_Operating System:_Win11