hopefully somebody here already did something similar and could help me out.
I have a few Start-Process calls with RedirectStandardOutput and RedirectStandardInput
to create dumps from remote servers and import them into a local db.
These dumps are only temporary and will be deleted shortly after, and so I want to store them directly in ram to speed up the process.
I have checked out PoshInternals @adam and the functions in MemoryMappedFile.ps1, but I can’t get it working.
works just fine. My problem is that I have no clue how to tell Start-Process to use the stream writer
in -RedirectStandardOutput, if it’s even possible to do so.